AndroidAutoLoadingState

Represents the current state of Android Auto map initialization.

It tells the root car screen which template to return: a map template (a NavigationTemplate, for instance) for MAP_READY, and a message template for every other state, with a message that matches the state. The wording, and whether to show a loading indicator, are the app's choice.

The state outlives the map surface: the host taking the surface away (a template with no map area on top, such as a ListTemplate or a SearchTemplate) leaves it unchanged. It goes back to IDLE only when the car session ends.

Entries

Link copied to clipboard

No car session yet, or the session ended: the SDK sets it when a session ends.

Link copied to clipboard

Phone app is starting; state is not yet known.

Link copied to clipboard

Phone app is in onboarding state and user needs to complete it.

Link copied to clipboard

Phone app Core SDK is loading map files.

Link copied to clipboard

The phone app is ready: the root screen returns its map template.

Link copied to clipboard

The phone app's license does not include Android Auto features.

Link copied to clipboard

The car map cannot be shown: the root screen shows an error message, and the user can try reconnecting.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.