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