Other Classes
The following classes are available globally.
-
See moreNavigationViewControlleris the base location manager which handles permissions and background modes.Declaration
Swift
open class NavigationLocationManager: CLLocationManager
-
A
NavigationRouteOptionsobject specifies turn-by-turn-optimized criteria for results returned by the Mapbox Directions API.
See moreNavigationRouteOptionsis a subclass ofRouteOptionsthat has been optimized for navigation. Pass an instance of this class into theDirections.calculate(_:completionHandler:)method.Declaration
Swift
open class NavigationRouteOptions: RouteOptions
-
See morePollyVoiceControllerextends the defaultRouteVoiceControllerby providing support for AWSPolly.RouteVoiceControllerwill be used as a fallback during poor network conditions.Declaration
Swift
public class PollyVoiceController: RouteVoiceController
-
See moreReplayLocationManagerreplays an array of locations exactly as they were recorded with the single exception of the location’s timestamp which will be adjusted by interval between locations.Declaration
Swift
public class ReplayLocationManager: NavigationLocationManager
-
The
SimulatedLocationManagerclass simulates location updates along a given route.The route will be replaced upon a
See moreRouteControllerDidReroutenotification.Declaration
Swift
public class SimulatedLocationManager: NavigationLocationManager
-
Provides appropriately formatted, localized descriptions of linear distances for voice use.
See moreDeclaration
Swift
public class SpokenDistanceFormatter: DistanceFormatter
-
Formatter for creating speech strings.
See moreDeclaration
Swift
public class SpokenInstructionFormatter: NSObject
-
Formatter for creating visual instructions.
See moreDeclaration
Swift
public class VisualInstructionFormatter: NSObject
Install in Dash
Other Classes Reference