TKUITripSegmentDisplayable

public protocol TKUITripSegmentDisplayable

Undocumented

  • tripSegmentModeColor Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var tripSegmentModeColor: TKColor? { get }
  • tripSegmentModeImage Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var tripSegmentModeImage: TKImage? { get }
  • tripSegmentModeImageURL Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var tripSegmentModeImageURL: URL? { get }
  • tripSegmentModeImageIsTemplate Default implementation

    If true, then tripSegmentModeImageURL should be treated as a template image and have an appropriate colour applied to it.

    Default Implementation

    Declaration

    Swift

    var tripSegmentModeImageIsTemplate: Bool { get }
  • tripSegmentModeImageIsBranding Default implementation

    If true, tripSegmentModeImageURL points at a brand image and should be shown next to tripSegmentModeImage; if false it shoud replace it.

    Default Implementation

    Declaration

    Swift

    var tripSegmentModeImageIsBranding: Bool { get }
  • tripSegmentModeInfoIconType Default implementation

    The icon to display on top of a mode icon to indicate issues with the mode itself, e.g., a service being cancelled or a car share vehicle not being available.

    Default Implementation

    Declaration

    Swift

    var tripSegmentModeInfoIconType: TKInfoIconType { get }
  • tripSegmentSubtitleIconType Default implementation

    The icon to display next to the sub-title to indicate secondary issues with the segment, e.g., an alert icon for real-time traffic issues.

    Default Implementation

    Declaration

    Swift

    var tripSegmentSubtitleIconType: TKInfoIconType { get }
  • Brief accessibility label for the segmgent in the trip segment view

    Declaration

    Swift

    var tripSegmentAccessibilityLabel: String? { get }
  • tripSegmentModeTitle Default implementation

    A title to show next to the mode image.

    Default Implementation

    Declaration

    Swift

    var tripSegmentModeTitle: String? { get }
  • tripSegmentModeSubtitle Default implementation

    A subtitle to show next to the mode image.

    Default Implementation

    Declaration

    Swift

    var tripSegmentModeSubtitle: String? { get }
  • tripSegmentFixedDepartureTime Default implementation

    The segment’s departure time, if it’s a fixed time, e.g., public transport

    Default Implementation

    Declaration

    Swift

    var tripSegmentFixedDepartureTime: Date? { get }
  • tripSegmentTimeZone Default implementation

    Time zone of the segment. Required if tripSegmentFixedDepartureTime is implemented.

    Default Implementation

    Declaration

    Swift

    var tripSegmentTimeZone: TimeZone? { get }
  • tripSegmentTimesAreRealTime Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var tripSegmentTimesAreRealTime: Bool { get }
  • tripSegmentWheelchairAccessibility Default implementation

    Wheelchair accessibility of the segment. If it doesn’t apply, just return .unknown, as an .unknown value will always be ignored.

    Default Implementation

    Declaration

    Swift

    var tripSegmentWheelchairAccessibility: TKWheelchairAccessibility { get }
  • tripSegmentBicycleAccessibility Default implementation

    Bicycle accessibility of the segment. If it doesn’t apply, just return nil.

    Default Implementation

    Declaration

    Swift

    var tripSegmentBicycleAccessibility: TKBicycleAccessibility? { get }