NavigationOptions
This value will be used to offset the time at which the current location was calculated in such a way as to project the location forward along the current trajectory so as to appear more in sync with the users ground-truth location
Parameters
the Context of the Android Application
LocationOptions that specify where to take locations from
defines time format for calculation remaining trip time
defines approximate navigator prediction in milliseconds
DistanceFormatterOptions options to format distances showing in notification during navigation
RoutingTilesOptions defines routing tiles endpoint and storage configuration.
Boolean
DeviceProfile defines how navigation data should be interpreted
EHorizonOptions defines configuration for the Electronic Horizon
defines configuration for refreshing routes
defines configuration for reroute
defines configuration for observing alternatives while navigating
defines configuration for live incidents
defines configuration for recording navigation events
EventsAppMetadata information (optional)
enables sensors for current position calculation (optional)
defines options for Copilot
defines options for traffic override
defines whether to use native route object. This is an early preview feature. When this option is enabled, some functionality is disabled or not fully supported:
Traffic override is not supported. Navigator instantiation throws an exception when both nativeRouteObject and TrafficOverrideOptions.isEnabled are set to
true.Subtypes of DirectionsJsonObject (for example, com.mapbox.api.directions.v5.models.DirectionsResponse) do not support the
toBuilder()function.The contract of
equals()/hashCode()is not met for subtypes of DirectionsJsonObject.Route refresh is not supported.
A route parsed using the native route object may not fully match the same route parsed with nativeRouteObject set to
false.
Types
Build a new NavigationOptions