NavigationUiOptions
class NavigationUiOptions(val unitSystemType: UnitSystemType = UnitSystemType.default, val isSoundEnabled: Boolean = true, val keepInBackground: Boolean = false, val voiceLanguage: Locale = Locale.US, val adaptVoiceLanguage: Boolean = false, showWaypointArrivalPanel: Boolean = false, showBetterRouteProposalPanel: Boolean = false, showRoadShieldsAsImages: Boolean = false, isDarkTheme: Boolean = false) : Parcelable
Represents navigation options that are configurable.
Important: This is a Public Preview API. It may be changed or removed at any time.
Constructors
Link copied to clipboard
constructor(unitSystemType: UnitSystemType = UnitSystemType.default, isSoundEnabled: Boolean = true, keepInBackground: Boolean = false, voiceLanguage: Locale = Locale.US, adaptVoiceLanguage: Boolean = false, showWaypointArrivalPanel: Boolean = false, showBetterRouteProposalPanel: Boolean = false, showRoadShieldsAsImages: Boolean = false, isDarkTheme: Boolean = false)
Properties
Link copied to clipboard
Whether the language of the message should be used for the voice guidance over voiceLanguage, when the language of a message is different from the voiceLanguage.
Link copied to clipboard
Returns whether voice guidance is turned on.
Link copied to clipboard
Whether or not the navigation should be kept in background within Android Service.
Link copied to clipboard
Returns preferred UnitSystemType. If provided value is UnitSystemType.Dynamic then the UnitSystem will be resolved dynamically based on current location country by the SDK. Once set, unitSystemType will be propagated to TomTomNavigation.unitSystem and other parts of the SDK.
Link copied to clipboard
Preferred language of the voice guidance.