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