RouteProtocol
@objc
public protocol RouteProtocol
BETA Represents parameters of the route for route planning.
Experiment
THIS API IS IN BETA VERSION-
Specifies the departure time.
Declaration
Swift
@objc optional var departAt: Date { get set } -
Specifies the type of route requested.
Declaration
Swift
@objc var routeType: RouteType { get set } -
Specifies whether the traffic information will be considered.
Declaration
Swift
@objc var considerTraffic: Bool { get set } -
Specifies something that the route calculation should try to avoid when determining the route.
Declaration
Swift
@objc var avoidTypes: [AvoidType] { get set } -
Specifies the mode of travel for the requested route.
Declaration
Swift
@objc var travelMode: TravelMode { get set }
RouteProtocol Protocol Reference