Package-level declarations

Types

Link copied to clipboard

The day/night mode the user chose for the Android Auto map.

Link copied to clipboard
data class AAGuidanceState(val maneuverIcon: ByteArray? = null, val chainedManeuverIcon: ByteArray? = null, val instruction: String? = null, val distanceToNextInstruction: String? = null, val distanceToDestination: String? = null, val durationToDestination: String? = null, val eta: String? = null, val currentSpeed: String? = null, val currentSpeedUnit: String? = null, val currentSpeedLimit: String? = null, val showOverspeedAlert: Boolean = false, val isAudioMuted: Boolean = false, val isGuidanceReady: Boolean = false, val isDestinationReached: Boolean = false, val isRerouting: Boolean = false, val aaManeuverType: Int = androidx.car.app.navigation.model.Maneuver.TYPE_UNKNOWN, val roundaboutExitNumber: Int = 0)

Data class representing the guidance state for Android Auto display.

Link copied to clipboard

Identifies a specific setting in the Android Auto settings screen.

Link copied to clipboard
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.

Link copied to clipboard

Configuration object for Android Auto integration.

Link copied to clipboard

Injectable state holder for Android Auto cross-module communication.

Link copied to clipboard

Holds and manages shared state for Android Auto map rendering.

Link copied to clipboard

Facade providing static access to AndroidAutoStateHolder.

Link copied to clipboard
data class CustomSettingDescriptor(val key: String, val displayLabel: String, val currentValue: Boolean)

Descriptor for a client-defined custom setting displayed on the AA settings screen.

Link copied to clipboard

Interface for providing navigation guidance data to Android Auto.

Link copied to clipboard
interface MapController

Interface for controlling the map from Android Auto.

Link copied to clipboard
data class MapControllerState(val mapStyle: String? = null, val mapCameraState: MapState = DEFAULT_CAMERA_STATE)

Represents the current state of the map controller.

Link copied to clipboard
data class MapControllerUpdate(val oldState: MapControllerState? = null, val newState: MapControllerState, val createPoiLayers: Boolean = true, val createPolygonsLayers: Boolean = true)

Represents a state update from the map controller.

Link copied to clipboard

Interface for providing map state and controller to Android Auto.

Link copied to clipboard

Centralized behavioral constants for the Android Auto MSDK module.

Link copied to clipboard
data class QuickAccessItem(val id: String, val title: String, val subtitle: String?, val latitude: Double, val longitude: Double, val type: QuickAccessType, val timestamp: Long = System.currentTimeMillis())

Represents a quick access destination item for Android Auto display.

Link copied to clipboard

Interface for providing quick access destinations to Android Auto.

Link copied to clipboard
data class QuickAccessState(val homeAddress: QuickAccessItem? = null, val workAddress: QuickAccessItem? = null, val recentDestinations: List<QuickAccessItem> = emptyList(), val isLoading: Boolean = false)

Represents the current state of quick access destinations.

Link copied to clipboard

Defines the type of quick access destination.

Link copied to clipboard
data class RouteDisplayInfo(val durationSeconds: Long, val distanceMeters: Double, val duration: String, val length: String, val arrivalTime: String)

Display information for a single route option.

Link copied to clipboard
data class RouteDisplayState(val routes: List<RouteDisplayInfo> = emptyList(), val selectedIndex: Int = 0, val destinationTitle: String = "")

State for route display on Android Auto.

Link copied to clipboard
interface SearchProvider

Interface for providing search functionality to Android Auto.

Link copied to clipboard
data class SearchProviderState(val query: String = "", val results: List<SearchResultItem> = emptyList(), val isLoading: Boolean = false, val error: String? = null)

Represents the current state of search operations.

Link copied to clipboard
data class SearchResultItem(val id: String, val title: String, val subtitle: String?, val latitude: Double, val longitude: Double, val isFavorite: Boolean = false)

Represents a search result item for Android Auto display.

Link copied to clipboard

Provider interface for Android Auto settings management.