public enum SoundActionEnumeration extends Enum<SoundActionEnumeration>
Java class for SoundActionEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="SoundActionEnumeration">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="StartSound"/>
<enumeration value="StopSound"/>
<enumeration value="SetDefaultVolume"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
SET_DEFAULT_VOLUME
Set the default volume of sounds.
|
START_SOUND
Start the sound as specified in the message.
|
STOP_SOUND
Stop the sound in progress.
|
| Modifier and Type | Method and Description |
|---|---|
static SoundActionEnumeration |
fromValue(String v) |
String |
value() |
static SoundActionEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SoundActionEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoundActionEnumeration START_SOUND
public static final SoundActionEnumeration STOP_SOUND
public static final SoundActionEnumeration SET_DEFAULT_VOLUME
public static SoundActionEnumeration[] values()
for (SoundActionEnumeration c : SoundActionEnumeration.values()) System.out.println(c);
public static SoundActionEnumeration 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 SoundActionEnumeration fromValue(String v)
Copyright © 2018. All rights reserved.