NavigationUiOptions

class NavigationUiOptions : Parcelable

Represents navigation options that are configurable.

Important: This is a Public Preview API. It may be changed or removed at any time.

Types

Link copied to clipboard
class Builder

Builder class for NavigationUiOptions.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
fun getPreferredUnits(context: Context): Units

If Units is set to Units.AUTO, this method returns the units based on the device's locale settings. If Units is set to a non-auto value, the method returns the preferred units.

Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
val isSoundEnabled: Boolean

Returns whether voice guidance is turned on.

Link copied to clipboard
val keepInBackground: Boolean

Whether or not the navigation should be kept in background within Android Service.

Link copied to clipboard
val units: Units

Returns preferred Units.

Link copied to clipboard
val voiceLanguage: Locale

Preferred language of the voice guidance.