Package de.svenkubiak.jpushover.enums
Enum Sound
- java.lang.Object
-
- java.lang.Enum<Sound>
-
- de.svenkubiak.jpushover.enums.Sound
-
- All Implemented Interfaces:
Serializable
,Comparable<Sound>
public enum Sound extends Enum<Sound>
- Author:
- svenkubiak
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALIEN
BIKE
BUGLE
CASHREGISTET
CLASSICAL
CLIMB
COSMIC
ECHO
FALLING
GAMELAN
INCOMING
INTERMISSION
MAGIC
MECHANICAL
NONE
PERSISTENT
PIANOBAR
PUSHOVER
SIREN
SPACEALARM
TUGBOAT
UPDOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static Sound
valueOf(String name)
Returns the enum constant of this type with the specified name.static Sound[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALIEN
public static final Sound ALIEN
-
BIKE
public static final Sound BIKE
-
BUGLE
public static final Sound BUGLE
-
CASHREGISTET
public static final Sound CASHREGISTET
-
CLASSICAL
public static final Sound CLASSICAL
-
CLIMB
public static final Sound CLIMB
-
COSMIC
public static final Sound COSMIC
-
ECHO
public static final Sound ECHO
-
FALLING
public static final Sound FALLING
-
GAMELAN
public static final Sound GAMELAN
-
INCOMING
public static final Sound INCOMING
-
INTERMISSION
public static final Sound INTERMISSION
-
MAGIC
public static final Sound MAGIC
-
MECHANICAL
public static final Sound MECHANICAL
-
NONE
public static final Sound NONE
-
PERSISTENT
public static final Sound PERSISTENT
-
PIANOBAR
public static final Sound PIANOBAR
-
PUSHOVER
public static final Sound PUSHOVER
-
SIREN
public static final Sound SIREN
-
SPACEALARM
public static final Sound SPACEALARM
-
TUGBOAT
public static final Sound TUGBOAT
-
UPDOWN
public static final Sound UPDOWN
-
-
Method Detail
-
values
public static Sound[] 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 (Sound c : Sound.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Sound 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
-
-