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 and Description |
|---|
MESSAGE_REF
Reference of a preloaded text to play.
|
SOUND_REF
Preloaded sound File.
|
TEXT
Text to play.
|
| Modifier and Type | Method and Description |
|---|---|
static SoundFormatType |
fromValue(String v)
From value sound format type.
|
String |
value()
Value string.
|
static SoundFormatType |
valueOf(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.
|
public static final SoundFormatType SOUND_REF
public static final SoundFormatType MESSAGE_REF
public static final SoundFormatType TEXT
public static SoundFormatType[] values()
for (SoundFormatType c : SoundFormatType.values()) System.out.println(c);
public static SoundFormatType 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 value()
public static SoundFormatType fromValue(String v)
v - the vCopyright © 2022. All rights reserved.