public enum ToneNotificationMode extends java.lang.Enum<ToneNotificationMode>
ToneNotificationMode is an enumeration defining the audio notification mode, subject to Good read rules.
The type is one of:
| NONE | Turn off audio notification mechanism |
| BEEP | Play a simple beep sound |
| AUDIO_FILE | Play the desired audio file, specified by DecodingNotification.goodReadAudioFile, just one time |
| VIPER | Play Viper beep sound, just one time |
| BAROQUE | Play Baroque beep sound, just one time |
| Enum Constant and Description |
|---|
AUDIO_FILE
Play an audio tone of choice
|
BAROQUE
Play baroque tone.
|
BEEP
Play a beep
|
NONE
None
|
VIPER
Play viper tone.
|
| Modifier and Type | Method and Description |
|---|---|
static ToneNotificationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ToneNotificationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ToneNotificationMode NONE
public static final ToneNotificationMode BEEP
public static final ToneNotificationMode AUDIO_FILE
public static final ToneNotificationMode VIPER
public static final ToneNotificationMode BAROQUE
public static ToneNotificationMode[] values()
for (ToneNotificationMode c : ToneNotificationMode.values()) System.out.println(c);
public static ToneNotificationMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null