Enum TtsLocale
- java.lang.Object
-
- java.lang.Enum<TtsLocale>
-
- com.bandwidth.sdk.model.bxml.utils.TtsLocale
-
- All Implemented Interfaces:
Serializable
,Comparable<TtsLocale>
public enum TtsLocale extends Enum<TtsLocale>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TtsLocale
resolve(String localeString)
String
toString()
static TtsLocale
valueOf(String name)
Returns the enum constant of this type with the specified name.static TtsLocale[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EN_US
public static final TtsLocale EN_US
-
EN_UK
public static final TtsLocale EN_UK
-
DE
public static final TtsLocale DE
-
ES
public static final TtsLocale ES
-
ES_MX
public static final TtsLocale ES_MX
-
FR
public static final TtsLocale FR
-
IT
public static final TtsLocale IT
-
RU
public static final TtsLocale RU
-
JA
public static final TtsLocale JA
-
ARB
public static final TtsLocale ARB
-
CMN_CN
public static final TtsLocale CMN_CN
-
-
Method Detail
-
values
public static TtsLocale[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TtsLocale c : TtsLocale.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TtsLocale valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-