Protocols
The following protocols are available globally.
-
Protocol for basic Instruction. Contains a set of attributes common to all instructions.
Different types of Instruction will implement this. They may also add extra attributes specific to their Instruction type. e.g., TurnInstruction will contain turnAngleInDegrees and turnDirection.
See moreDeclaration
Swift
public protocol Instruction
-
Builder pattern deployed to modify only certain attributes in the
Instruction
.See also
Instruction
protocol.Declaration
Swift
public protocol InstructionBuilder
-
Represents point of the route received in response from route planning API
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol RouteStop
-
The Section protocol contains information about a part of the route.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol Section
-
The SectionInitiable protocol contains init to create simple section.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol SectionInitiable
-
Protocol that describes how translations are fetched.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol TranslationsProvider