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
distanceFormatter
Link copied to clipboard
fun distanceFormatter(distanceFormatter: DistanceFormatter?): 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
hashCode
Link copied to clipboard
open fun hashCode(): Int
isDebugLoggingEnabled
Link copied to clipboard
fun isDebugLoggingEnabled(flag: Boolean): NavigationOptions.Builder
Defines if debug logging is enabled
isFromNavigationUi
Link copied to clipboard
fun isFromNavigationUi(flag: Boolean): NavigationOptions.Builder
Defines if the builder instance is created from the Navigation UI
locationEngine
Link copied to clipboard
fun locationEngine(locationEngine: LocationEngine): NavigationOptions.Builder
Override the mechanism responsible for providing location approximations to navigation
navigatorPredictionMillis
Link copied to clipboard
fun navigatorPredictionMillis(predictionMillis: Long): NavigationOptions.Builder
Defines approximate navigator prediction in milliseconds
onboardRouterOptions
Link copied to clipboard
fun onboardRouterOptions(onboardRouterOptions: OnboardRouterOptions): 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