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