TKUITripSegmentDisplayable
public protocol TKUITripSegmentDisplayable
Undocumented
-
tripSegmentModeColor
Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
var tripSegmentModeColor: TKColor? { get }
-
tripSegmentModeImage
Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
var tripSegmentModeImage: TKImage? { get }
-
tripSegmentModeImageURL
Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
var tripSegmentModeImageURL: URL? { get }
-
tripSegmentModeImageIsTemplate
Default implementationIf 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 implementationIf true,
tripSegmentModeImageURL
points at a brand image and should be shown next totripSegmentModeImage
; iffalse
it shoud replace it.Default Implementation
Declaration
Swift
var tripSegmentModeImageIsBranding: Bool { get }
-
tripSegmentModeInfoIconType
Default implementationThe 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 implementationThe 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 implementationA title to show next to the mode image.
Default Implementation
Declaration
Swift
var tripSegmentModeTitle: String? { get }
-
tripSegmentModeSubtitle
Default implementationA subtitle to show next to the mode image.
Default Implementation
Declaration
Swift
var tripSegmentModeSubtitle: String? { get }
-
tripSegmentFixedDepartureTime
Default implementationThe segment’s departure time, if it’s a fixed time, e.g., public transport
Default Implementation
Declaration
Swift
var tripSegmentFixedDepartureTime: Date? { get }
-
tripSegmentTimeZone
Default implementationTime zone of the segment. Required if
tripSegmentFixedDepartureTime
is implemented.Default Implementation
Declaration
Swift
var tripSegmentTimeZone: TimeZone? { get }
-
tripSegmentTimesAreRealTime
Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
var tripSegmentTimesAreRealTime: Bool { get }
-
tripSegmentWheelchairAccessibility
Default implementationWheelchair 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 implementationBicycle accessibility of the segment. If it doesn’t apply, just return nil.
Default Implementation
Declaration
Swift
var tripSegmentBicycleAccessibility: TKBicycleAccessibility? { get }