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