public static enum Say.Voice extends Enum<Say.Voice>
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Say.Voice |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Say.Voice[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Say.Voice MAN
public static final Say.Voice WOMAN
public static final Say.Voice ALICE
public static Say.Voice[] values()
for (Say.Voice c : Say.Voice.values()) System.out.println(c);
public static Say.Voice 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 nullCopyright © 2011 Twilio, Inc. All Rights Reserved.