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 moreSee also
Instructionprotocol.Declaration
Swift
public protocol InstructionBuilder
-
Represents point of the route received in response from route planning API
See moreImportant
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.
See moreImportant
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.
See moreImportant
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.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol TranslationsProvider
Protocols Reference