public static enum Room.RoomType extends Enum<Room.RoomType>
| Enum Constant and Description |
|---|
GROUP |
PEER_TO_PEER |
| Modifier and Type | Method and Description |
|---|---|
static Room.RoomType |
forValue(String value)
Generate a RoomType from a string.
|
String |
toString() |
static Room.RoomType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Room.RoomType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Room.RoomType PEER_TO_PEER
public static final Room.RoomType GROUP
public static Room.RoomType[] values()
for (Room.RoomType c : Room.RoomType.values()) System.out.println(c);
public static Room.RoomType 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 nullpublic String toString()
toString in class Enum<Room.RoomType>public static Room.RoomType forValue(String value)
value - string valueCopyright © 2016 Twilio, Inc. All Rights Reserved.