NavigationUiOptions
class NavigationUiOptions(val units: UnitSystem = UnitSystem.AUTO, val isSoundEnabled: Boolean = true, val keepInBackground: Boolean = false, val voiceLanguage: Locale = Locale.US, val adaptVoiceLanguage: 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
fun NavigationUiOptions(units: UnitSystem = UnitSystem.AUTO, isSoundEnabled: Boolean = true, keepInBackground: Boolean = false, voiceLanguage: Locale = Locale.US, adaptVoiceLanguage: Boolean = false)
Functions
Link copied to clipboard
Link copied to clipboard
If UnitSystem is set to UnitSystem.AUTO, this method returns the units based on the device's locale settings. If UnitSystem is set to a non-auto value, the method returns the preferred units.
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard