Package com.adyen.model.nexo
Enum SoundFormatType
- java.lang.Object
-
- java.lang.Enum<SoundFormatType>
-
- com.adyen.model.nexo.SoundFormatType
-
- All Implemented Interfaces:
Serializable,Comparable<SoundFormatType>
public enum SoundFormatType extends Enum<SoundFormatType>
Java class for SoundFormatType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="SoundFormatType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="SoundRef"/> <enumeration value="MessageRef"/> <enumeration value="Text"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MESSAGE_REFReference of a preloaded text to play.SOUND_REFPreloaded sound File.TEXTText to play.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SoundFormatTypefromValue(String v)From value sound format type.Stringvalue()Value string.static SoundFormatTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SoundFormatType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SOUND_REF
public static final SoundFormatType SOUND_REF
Preloaded sound File.
-
MESSAGE_REF
public static final SoundFormatType MESSAGE_REF
Reference of a preloaded text to play.
-
TEXT
public static final SoundFormatType TEXT
Text to play.
-
-
Method Detail
-
values
public static SoundFormatType[] 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 (SoundFormatType c : SoundFormatType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoundFormatType 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
-
value
public String value()
Value string.- Returns:
- the string
-
fromValue
public static SoundFormatType fromValue(String v)
From value sound format type.- Parameters:
v- the v- Returns:
- the sound format type
-
-