Builder

class Builder(applicationContext: Context)

Build a new NavigationOptions

Constructors

Builder
Link copied to clipboard
fun Builder(applicationContext: Context)

Functions

accessToken
Link copied to clipboard
fun accessToken(accessToken: String?): NavigationOptions.Builder
build
Link copied to clipboard
fun build(): NavigationOptions
Build a new instance of NavigationOptions
deviceProfile
Link copied to clipboard
fun deviceProfile(deviceProfile: DeviceProfile): NavigationOptions.Builder
Defines the type of device creating localization data
distanceFormatterOptions
Link copied to clipboard
fun distanceFormatterOptions(distanceFormatterOptions: DistanceFormatterOptions): NavigationOptions.Builder
Defines format distances showing in notification during navigation
eHorizonOptions
Link copied to clipboard
fun eHorizonOptions(eHorizonOptions: EHorizonOptions): NavigationOptions.Builder
Defines configuration for the Electronic Horizon
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
eventsAppMetadata
Link copied to clipboard
fun eventsAppMetadata(eventsAppMetadata: EventsAppMetadata?): NavigationOptions.Builder
Defines EventsAppMetadata information
hashCode
Link copied to clipboard
open fun hashCode(): Int
historyRecorderOptions
Link copied to clipboard
fun historyRecorderOptions(historyRecorderOptions: HistoryRecorderOptions): NavigationOptions.Builder
Defines configuration history recording
incidentsOptions
Link copied to clipboard
fun incidentsOptions(incidentsOptions: IncidentsOptions): NavigationOptions.Builder
Defines configuration for live incidents
isDebugLoggingEnabled
Link copied to clipboard
fun isDebugLoggingEnabled(flag: Boolean): NavigationOptions.Builder
Defines if debug logging is enabled
locationEngine
Link copied to clipboard
fun locationEngine(locationEngine: LocationEngine): NavigationOptions.Builder
Override the mechanism responsible for providing location approximations to navigation
locationEngineRequest
Link copied to clipboard
fun locationEngineRequest(locationEngineRequest: LocationEngineRequest): NavigationOptions.Builder
Override the rate to request locations from the location engine.
navigatorPredictionMillis
Link copied to clipboard
fun navigatorPredictionMillis(predictionMillis: Long): NavigationOptions.Builder
Defines approximate navigator prediction in milliseconds
rerouteOptions
Link copied to clipboard
fun rerouteOptions(rerouteOptions: RerouteOptions): NavigationOptions.Builder
Defines configuration for reroute
routeAlternativesOptions
Link copied to clipboard
fun routeAlternativesOptions(routeAlternativesOptions: RouteAlternativesOptions): NavigationOptions.Builder
Defines configuration for route refresh
routeRefreshOptions
Link copied to clipboard
fun routeRefreshOptions(routeRefreshOptions: RouteRefreshOptions): NavigationOptions.Builder
Defines configuration for route refresh
routingTilesOptions
Link copied to clipboard
fun routingTilesOptions(routingTilesOptions: RoutingTilesOptions): NavigationOptions.Builder
Defines configuration for the default on-board router
timeFormatType
Link copied to clipboard
fun timeFormatType(type: Int): NavigationOptions.Builder
Defines time format for calculation remaining trip time
toString
Link copied to clipboard
open fun toString(): String