public enum SoundActionType extends Enum<SoundActionType>
Java class for SoundActionType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="SoundActionType">
<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 messageType.
|
STOP_SOUND
Stop the sound in progress.
|
| Modifier and Type | Method and Description |
|---|---|
static SoundActionType |
fromValue(String v)
From value sound action type.
|
String |
value()
Value string.
|
static SoundActionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SoundActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoundActionType START_SOUND
public static final SoundActionType STOP_SOUND
public static final SoundActionType SET_DEFAULT_VOLUME
public static SoundActionType[] values()
for (SoundActionType c : SoundActionType.values()) System.out.println(c);
public static SoundActionType 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 SoundActionType fromValue(String v)
v - the vCopyright © 2022. All rights reserved.