Other Protocols

The following protocols are available globally.

  • Undocumented

    See more

    Declaration

    Objective-C

    @protocol TKVehicular <NSObject>
    
    /**
     Optional name to use in the UI to refer to this vehicle.
     */
    - (nullable NSString *)name;
    
    /**
     What kind of vehicle it is. Required field.
     */
    - (TKVehicleType)vehicleType;
    
    @optional
    
    /**
     Where this vehicle is garaged. Can be `nil` but the algorithms won't try to
     take it back to the garage then.
     
     @note `nil` is the same as getting a lift
     */
    - (nullable id<MKAnnotation>)garage;
    
    /**
     The unique identifier that identifies this vehicle.
     
     @note Getting a lift instances don't have a UUID
     */
    - (nullable NSString *)vehicleUUID;
    
    @end

    Swift

    protocol TKVehicular : NSObjectProtocol
  • Declaration

    Swift

    @objc
    public protocol TKGeocodable
  • Declaration

    Swift

    @objc
    public protocol TKSortableAnnotation : MKAnnotation
  • A TKLogger is used by TKLog to perform the outputting and processing of log statements.

    A default TKConsoleLogger is provided.

    See more

    Declaration

    Swift

    public protocol TKLogger
  • Declaration

    Swift

    public protocol TKGeocoding
  • Declaration

    Swift

    public protocol TKAutocompleting

TKDisplayableRoute, the input