Protocols

The following protocols are available globally.

  • Protocol for TTBatchRoute - TTBatchRouteResponseDelegate

    See more

    Declaration

    Objective-C

    @protocol TTBatchRouteResponseDelegate <NSObject>

    Swift

    protocol TTBatchRouteResponseDelegate : NSObjectProtocol
  • TTBatchRouteVisistor

    See more

    Declaration

    Objective-C

    @protocol TTBatchRouteVisistor <NSObject>

    Swift

    protocol TTBatchRouteVisistor : NSObjectProtocol
  • Delegate for TTLongDistanceEV - TTLongDistanceEvResponseDelegate

    See more

    Declaration

    Objective-C

    @protocol TTLongDistanceEvResponseDelegate <NSObject>

    Swift

    protocol TTLongDistanceEvResponseDelegate : NSObjectProtocol
  • TTMatrixRouteResponseDelegate

    See more

    Declaration

    Objective-C

    @protocol TTMatrixRouteResponseDelegate <NSObject>

    Swift

    protocol TTMatrixRouteResponseDelegate : NSObjectProtocol
  • TTReachableRangeDelegate

    See more

    Declaration

    Objective-C

    @protocol TTReachableRangeDelegate <NSObject>

    Swift

    protocol TTReachableRangeDelegate : NSObjectProtocol
  • Protocol for TTRoute - TTRouteResponseDelegate

    See more

    Declaration

    Objective-C

    @protocol TTRouteResponseDelegate <NSObject>

    Swift

    protocol TTRouteResponseDelegate : NSObjectProtocol
  • Public Preview

    This is under Public Preview and subject to change by the end of 2020.12. More information is available at: https://developer.tomtom.com/public-preview

    Describes the capacity and the consumption of the EV.

    See more

    Declaration

    Swift

    @available(*, message: "TT_API_PUBLIC_PREVIEW('byTheEndOf=2020.12', 'This is under Public Preview and subject to change until the end date. More information is available at: https://developer.tomtom.com/public-preview'﹚")
    @objc
    public protocol ElectricVehicleConsumption
  • Public Preview

    This is under Public Preview and subject to change by the end of 2020.12. More information is available at: https://developer.tomtom.com/public-preview

    Represents the electric vehicle descriptor used during a route plan.

    See more

    Declaration

    Swift

    @available(*, message: "TT_API_PUBLIC_PREVIEW('byTheEndOf=2020.12', 'This is under Public Preview and subject to change until the end date. More information is available at: https://developer.tomtom.com/public-preview'﹚")
    @objc
    public protocol ElectricVehicleProtocol
  • Public Preview

    This is under Public Preview and subject to change by the end of 2020.12. More information is available at: https://developer.tomtom.com/public-preview

    Represents parameters of the route for route planning.

    See more

    Declaration

    Swift

    @available(*, message: "TT_API_PUBLIC_PREVIEW('byTheEndOf=2020.12', 'This is under Public Preview and subject to change until the end date. More information is available at: https://developer.tomtom.com/public-preview'﹚")
    @objc
    public protocol RouteProtocol
  • Public Preview

    This is under Public Preview and subject to change by the end of 2020.12. More information is available at: https://developer.tomtom.com/public-preview

    Defines parameters related to charging the EV.

    See more

    Declaration

    Swift

    @available(*, message: "TT_API_PUBLIC_PREVIEW('byTheEndOf=2020.12', 'This is under Public Preview and subject to change until the end date. More information is available at: https://developer.tomtom.com/public-preview'﹚")
    @objc
    public protocol ChargingProtocol
  • Public Preview

    This is under Public Preview and subject to change by the end of 2020.12. More information is available at: https://developer.tomtom.com/public-preview

    Specifies the dimensions of the vehicle.

    See more

    Declaration

    Swift

    @available(*, message: "TT_API_PUBLIC_PREVIEW('byTheEndOf=2020.12', 'This is under Public Preview and subject to change until the end date. More information is available at: https://developer.tomtom.com/public-preview'﹚")
    @objc
    public protocol VehicleDimensionsProtocol
  • Public Preview

    This is under Public Preview and subject to change by the end of 2020.12. More information is available at: https://developer.tomtom.com/public-preview

    Specifies the efficiency of the vehicle.

    See more

    Declaration

    Swift

    @available(*, message: "TT_API_PUBLIC_PREVIEW('byTheEndOf=2020.12', 'This is under Public Preview and subject to change until the end date. More information is available at: https://developer.tomtom.com/public-preview'﹚")
    @objc
    public protocol VehicleEfficiencyProtocol
  • Public Preview

    This is under Public Preview and subject to change by the end of 2020.12. More information is available at: https://developer.tomtom.com/public-preview

    Specifies the restriction that this vehicle should be subjected to.

    See more

    Declaration

    Swift

    @available(*, message: "TT_API_PUBLIC_PREVIEW('byTheEndOf=2020.12', 'This is under Public Preview and subject to change until the end date. More information is available at: https://developer.tomtom.com/public-preview'﹚")
    @objc
    public protocol VehicleRestrictionsProtocol