Package com.relaypro.sdk.types
Enum LanguageType
- java.lang.Object
-
- java.lang.Enum<LanguageType>
-
- com.relaypro.sdk.types.LanguageType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LanguageType>
public enum LanguageType extends java.lang.Enum<LanguageType>
The supported languages that can be used for speech, listening, or translation on the device.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
value()
static LanguageType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LanguageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
English
public static final LanguageType English
-
German
public static final LanguageType German
-
Spanish
public static final LanguageType Spanish
-
French
public static final LanguageType French
-
Italian
public static final LanguageType Italian
-
Russian
public static final LanguageType Russian
-
Swedish
public static final LanguageType Swedish
-
Turkish
public static final LanguageType Turkish
-
Hindi
public static final LanguageType Hindi
-
Icelandic
public static final LanguageType Icelandic
-
Japanese
public static final LanguageType Japanese
-
Korean
public static final LanguageType Korean
-
Polish
public static final LanguageType Polish
-
Portuguese
public static final LanguageType Portuguese
-
Norwegian
public static final LanguageType Norwegian
-
Dutch
public static final LanguageType Dutch
-
Chinese
public static final LanguageType Chinese
-
-
Method Detail
-
values
public static LanguageType[] 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 (LanguageType c : LanguageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LanguageType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public java.lang.String value()
-
-