Package com.adonax.audiocue
Enum AudioCueInstanceEvent.Type
- All Implemented Interfaces:
Serializable
,Comparable<AudioCueInstanceEvent.Type>
,java.lang.constant.Constable
- Enclosing class:
AudioCueInstanceEvent
An enumeration of events that occur during the lifetime of an
AudioCue
instance.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that an instance has finished playing and is starting to play again from the beginning of the media.Indicates that an instance has been obtained from the pool of available instances.Indicates that an instance has been released and returned to the pool of available instances.Indicates that an instance has started playing.Indicates that an instance has stopped playing. -
Method Summary
Modifier and TypeMethodDescriptionstatic AudioCueInstanceEvent.Type
Returns the enum constant of this type with the specified name.static AudioCueInstanceEvent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
OBTAIN_INSTANCE
Indicates that an instance has been obtained from the pool of available instances. -
RELEASE_INSTANCE
Indicates that an instance has been released and returned to the pool of available instances. -
START_INSTANCE
Indicates that an instance has started playing. -
STOP_INSTANCE
Indicates that an instance has stopped playing. -
LOOP
Indicates that an instance has finished playing and is starting to play again from the beginning of the media.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-