Other Enumerations

The following enumerations are available globally.

  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, TKAuthorizationStatus) {
      TKAuthorizationStatusNotDetermined = 0,
      TKAuthorizationStatusRestricted,
      TKAuthorizationStatusDenied,
      TKAuthorizationStatusAuthorized
    }

    Swift

    enum TKAuthorizationStatus : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSInteger, TKTimeType) {
      TKTimeTypeLeaveASAP     = 0,
      TKTimeTypeLeaveAfter    = 1,
      TKTimeTypeArriveBefore  = 2,
      TKTimeTypeNone
    }

    Swift

    @frozen enum TKTimeType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, TKGrouping) {
      TKGrouping_Start,
      TKGrouping_Middle,
      TKGrouping_End,
      TKGrouping_Individual, // start + middle + end in one
      TKGrouping_EdgeToEdge, // item should go edge-to-edge, so grouping is irrelevant
    }

    Swift

    enum TKGrouping : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, TKStyleModeIconType) {
    	TKStyleModeIconTypeListMainMode,
      TKStyleModeIconTypeMapIcon,
      TKStyleModeIconTypeResolutionIndependent, // SVGs! You probably need SVGKit to handle these.
      TKStyleModeIconTypeVehicle,
      TKStyleModeIconTypeAlert,
    }

    Swift

    enum TKStyleModeIconType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, TKAutocompletionSearchIcon) {
    	TKAutocompletionSearchIconCalendar,
    	TKAutocompletionSearchIconCity,
    	TKAutocompletionSearchIconContact,
    	TKAutocompletionSearchIconCurrentLocation,
    	TKAutocompletionSearchIconFavourite,
    	TKAutocompletionSearchIconHistory,
    	TKAutocompletionSearchIconPin,
    }

    Swift

    enum TKAutocompletionSearchIcon : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, TKServerType) {
      TKServerTypeProduction = 0,
      TKServerTypeBeta,
      TKServerTypeLocal
    }

    Swift

    enum TKServerType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, TKVehicleType) {
      TKVehicleType_None = 0,
      TKVehicleType_Bicycle,
    	TKVehicleType_Car,
      TKVehicleType_Motorbike,
      TKVehicleType_SUV,
    }
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSInteger, TKAlertSeverity) {
      TKAlertSeverityInfo = -1,
      TKAlertSeverityWarning = 0,
      TKAlertSeverityAlert = 1,
    }

    Swift

    @frozen enum TKAlertSeverity : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSInteger, TKStopVisitRealTime) {
      TKStopVisitRealTimeNotApplicable, // We don't have real-time for this kind of service
      TKStopVisitRealTimeNotAvailable,  // Services like this can have real-time, but this doesn't
      TKStopVisitRealTimeOnTime,
      TKStopVisitRealTimeEarly,
      TKStopVisitRealTimeLate,
      TKStopVisitRealTimeCancelled
    }

    Swift

    @frozen enum TKStopVisitRealTime : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSInteger, TKTripGroupVisibility) {
    	TKTripGroupVisibilityFull = 0,
      TKTripGroupVisibilityMini = 1,
      TKTripGroupVisibilityHidden = 2,
    }

    Swift

    @frozen enum TKTripGroupVisibility : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    enum TKInfoProviderError {
      kTKInfoProviderErrorNothingFound    = 1,
      kTKInfoProviderErrorStopWithoutCode = 2
    }

    Swift

    struct TKInfoProviderError : Equatable, RawRepresentable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, TKSettingsProfileWeight) {
      TKSettingsProfileWeight_Money,
      TKSettingsProfileWeight_Carbon,
      TKSettingsProfileWeight_Time,
      TKSettingsProfileWeight_Hassle,
      TKSettingsProfileWeight_Exercise,
    }

    Swift

    enum TKSettingsProfileWeight : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, TKSettingsSpeed) {
      TKSettingsSpeed_Slow = 0,
      TKSettingsSpeed_Average,
      TKSettingsSpeed_Fast,
    }

    Swift

    enum TKSettingsSpeed : Int
  • Declaration

    Swift

    public enum TripKit
  • Declaration

    Swift

    public enum TKServiceTiming : Equatable
  • Declaration

    Swift

    @objc
    public enum TKInfoIconType : Int
  • Declaration

    Swift

    @objc
    public enum TKInfoIconUsage : Int
  • Declaration

    Swift

    public enum TKLocalCostAccuracy : String
    extension TKLocalCostAccuracy: Codable
  • Declaration

    Swift

    @objc
    public enum TKTripCostType : Int, Codable
  • Declaration

    Swift

    @objc
    public enum TKTripSegmentVisibility : Int, Codable
  • Declaration

    Swift

    @objc
    public enum TKFileCacheDirectory : Int
  • Case-less enum just to create a namespace

    See more

    Declaration

    Swift

    public enum TKBooking
  • Declaration

    Swift

    public enum TKPathFriendliness
  • Declaration

    Swift

    @objc
    public enum TKSegmentOrdering : Int
  • Declaration

    Swift

    @objc
    public enum TKSegmentType : Int
  • Declaration

    Swift

    public enum TKTurnByTurnMode : String, Codable
  • Indicates accessibility of services, stops, footpaths for wheelchair users (also useful for prams, etc.)

    See more

    Declaration

    Swift

    @objc
    public enum TKWheelchairAccessibility : Int
  • Declaration

    Swift

    public enum TKLocationProvider
  • Declaration

    Swift

    public enum TKLocationRealTime
  • Declaration

    Swift

    public enum TKQuickBookingHelper
  • Declaration

    Swift

    public enum TKRealTimeUpdateProgress<E>