public enum

CarAppViewModel.State

extends java.lang.Enum<CarAppViewModel.State>

 java.lang.Object

↳java.lang.Enum<CarAppViewModel.State>

↳androidx.car.app.activity.CarAppViewModel.State

Overview

Possible view states

Summary

Enum Constants
CONNECTEDThe activity is connected to the host
CONNECTINGThis activity is still in the process of connecting to the host
ERRORThere has been an error in the communication with the host
IDLEThe activity hasn't yet started connecting to the host
Methods
public static CarAppViewModel.StatevalueOf(java.lang.String name)

public static CarAppViewModel.Statevalues()

from java.lang.Enum<E>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
from java.lang.ObjectgetClass, notify, notifyAll, wait, wait, wait

Enum Constants

IDLE

The activity hasn't yet started connecting to the host

CONNECTING

This activity is still in the process of connecting to the host

CONNECTED

The activity is connected to the host

ERROR

There has been an error in the communication with the host

Methods

public static CarAppViewModel.State values()

public static CarAppViewModel.State valueOf(java.lang.String name)