PhoneAppState
Represents the current state of the phone app as communicated to Android Auto.
The phone app sets this state, and Android Auto observes it via StateFlow to determine what UI to display.
Carried over from one car session to the next
The state is kept from one car session to the next while the phone app runs, that is while its PhoneAppCallback is registered: a new session starts from the state reported last, and the phone app does not have to report it again. It goes back to UNKNOWN when a session starts or ends with no PhoneAppCallback registered, and CLOSING is never carried over.
Entries
Phone app is in onboarding flow (QRCode, permissions, terms, etc.). The car asks the user to complete the onboarding on the phone (AndroidAutoLoadingState.ONBOARDING_REQUIRED).
Phone app Core SDK is initializing and downloading maps. The car shows that the map data is being prepared (AndroidAutoLoadingState.INITIALIZING_MAPS).
Properties
Functions
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.)
Returns an array containing the constants of this enum type, in the order they're declared.