The following classes are available globally.
Options for calculating results from the Mapbox Directions service.See more
open class DirectionsOptions : Codable
extension DirectionsOptions: Equatable
DirectionsResultrepresents a result returned from either the Mapbox Directions service.
You do not create instances of this class directly. Instead, you receiveSee more
Matchobjects when you request directions using the
open class DirectionsResult : Codable, ForeignMemberContainerClass
extension DirectionsResult: CustomStringConvertible
An instruction about an upcoming
RouteStep’s maneuver, optimized for speech synthesis.
The instruction is provided in two formats: plain text and text marked up according to the Speech Synthesis Markup Language (SSML). Use a speech synthesizer such as
AVSpeechSynthesizeror Amazon Polly to read aloud the instruction.
distanceAlongStepproperty is measured from the beginning of the step associated with this object. By contrast, the
ssmlTextproperties refer to the details in the following step. It is also possible for the instruction to refer to two following steps simultaneously when needed for safe navigation.
open class SpokenInstruction : Codable, ForeignMemberContainerClass
extension SpokenInstruction: Equatable
The contents of a banner that should be displayed as added visual guidance for a route. The banner instructions are children of the steps during which they should be displayed, but they refer to the maneuver in the following step.See more
open class VisualInstruction : Codable, ForeignMemberContainerClass
extension VisualInstruction: Equatable