NavigationOptions

class 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

applicationContext

the Context of the Android Application

locationEngine

the mechanism responsible for providing location approximations to navigation

locationEngineRequest

specifies the rate to request locations from the location engine.

timeFormatType

defines time format for calculation remaining trip time

navigatorPredictionMillis

defines approximate navigator prediction in milliseconds

distanceFormatterOptions

DistanceFormatterOptions options to format distances showing in notification during navigation

routingTilesOptions

RoutingTilesOptions defines routing tiles endpoint and storage configuration.

isDebugLoggingEnabled

Boolean

deviceProfile

DeviceProfile defines how navigation data should be interpreted

eHorizonOptions

EHorizonOptions defines configuration for the Electronic Horizon

routeRefreshOptions

defines configuration for refreshing routes

rerouteOptions

defines configuration for reroute

routeAlternativesOptions

defines configuration for observing alternatives while navigating

incidentsOptions

defines configuration for live incidents

historyRecorderOptions

defines configuration for recording navigation events

eventsAppMetadata

EventsAppMetadata information (optional)

enableSensors

enables sensors for current position calculation (optional)

copilotOptions

defines options for Copilot

Types

Link copied to clipboard
class Builder(applicationContext: Context)

Build a new NavigationOptions

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Regenerate whenever a change is made

Link copied to clipboard
open override fun hashCode(): Int

Regenerate whenever a change is made

Link copied to clipboard
fun toBuilder(): NavigationOptions.Builder

Get a builder to customize a subset of current options.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.

Properties

Link copied to clipboard
val accessToken: String?
Link copied to clipboard
val applicationContext: Context
Link copied to clipboard
val copilotOptions: CopilotOptions
Link copied to clipboard
val deviceProfile: DeviceProfile
Link copied to clipboard
val distanceFormatterOptions: DistanceFormatterOptions
Link copied to clipboard
val eHorizonOptions: EHorizonOptions
Link copied to clipboard
val enableSensors: Boolean
Link copied to clipboard
val eventsAppMetadata: EventsAppMetadata?
Link copied to clipboard
val historyRecorderOptions: HistoryRecorderOptions
Link copied to clipboard
val incidentsOptions: IncidentsOptions
Link copied to clipboard
val isDebugLoggingEnabled: Boolean
Link copied to clipboard
val locationEngine: LocationEngine
Link copied to clipboard
val locationEngineRequest: LocationEngineRequest
Link copied to clipboard
val navigatorPredictionMillis: Long
Link copied to clipboard
val rerouteOptions: RerouteOptions
Link copied to clipboard
val routeAlternativesOptions: RouteAlternativesOptions
Link copied to clipboard
val routeRefreshOptions: RouteRefreshOptions
Link copied to clipboard
val routingTilesOptions: RoutingTilesOptions
Link copied to clipboard
val timeFormatType: Int