AASettingsState

data class AASettingsState(val ttsEnabled: Boolean = true, val audioEnabled: Boolean = true, val overspeedAlertsEnabled: Boolean = true, val trafficDisplayEnabled: Boolean = true, val highwayEnabled: Boolean = true, val tollsEnabled: Boolean = true, val autoReroutingEnabled: Boolean = true, val displaySpeedLimitEnabled: Boolean = true, val isLoading: Boolean = false, val customSettings: Map<String, Boolean> = emptyMap(), val mapDayNightMode: AADayNightMode = AADayNightMode.AUTO)

Represents the current state of all Android Auto settings.

This data class holds the toggle values for each setting exposed in the Android Auto settings screen. Each field maps to a preference stored by the phone app's shared preferences system.

Settings Categories

Guidance settings control navigation behavior and alerts:

Display settings (AA-specific):

Routing settings control route computation preferences:

See also

Constructors

Link copied to clipboard
constructor(ttsEnabled: Boolean = true, audioEnabled: Boolean = true, overspeedAlertsEnabled: Boolean = true, trafficDisplayEnabled: Boolean = true, highwayEnabled: Boolean = true, tollsEnabled: Boolean = true, autoReroutingEnabled: Boolean = true, displaySpeedLimitEnabled: Boolean = true, isLoading: Boolean = false, customSettings: Map<String, Boolean> = emptyMap(), mapDayNightMode: AADayNightMode = AADayNightMode.AUTO)

Properties

Link copied to clipboard

Whether audio output for guidance instructions is enabled

Link copied to clipboard

Whether automatic rerouting on traffic changes is enabled

Link copied to clipboard

Custom settings defined by the client application.

Link copied to clipboard

Whether the speed limit sign is displayed on the AA map surface during guidance

Link copied to clipboard

Whether highways are included in route computation

Link copied to clipboard

Whether the settings are currently being loaded from preferences

Link copied to clipboard

The day/night mode of the Android Auto map: follow the car (AADayNightMode.AUTO), or keep the map in day or night colours at all times.

Link copied to clipboard

Whether overspeed alert warnings are enabled

Link copied to clipboard

Whether toll roads are included in route computation

Link copied to clipboard

Whether traffic display overlay on the map is enabled

Link copied to clipboard

Whether Text-to-Speech voice guidance is enabled