public enum RoomState extends Enum<RoomState>
Room.| Enum Constant and Description |
|---|
CONNECTED |
CONNECTING |
DISCONNECTED |
| Modifier and Type | Method and Description |
|---|---|
static RoomState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoomState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoomState CONNECTING
public static final RoomState CONNECTED
public static final RoomState DISCONNECTED
public static RoomState[] values()
for (RoomState c : RoomState.values()) System.out.println(c);
public static RoomState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null3.0.0-preview2