Enum Class APSMediaEvent.APSMediaEventState
java.lang.Object
java.lang.Enum<APSMediaEvent.APSMediaEventState>
com.appscend.media.events.APSMediaEvent.APSMediaEventState
- All Implemented Interfaces:
Serializable, Comparable<APSMediaEvent.APSMediaEventState>, Constable
- Enclosing class:
APSMediaEvent
Describes the current lifecycle state of an APSMediaEvent.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe event failed to preload and should not be triggered.The event finished.The event has succesfully preloaded and is ready to be triggered.The event is currently preloading.The event is triggered.The event has not yet been loaded or has been unloaded -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static APSMediaEvent.APSMediaEventState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
APSMediaEventStateUnloaded
The event has not yet been loaded or has been unloaded -
APSMediaEventStatePreloading
The event is currently preloading. -
APSMediaEventStatePreloaded
The event has succesfully preloaded and is ready to be triggered. -
APSMediaEventStateFailed
The event failed to preload and should not be triggered. -
APSMediaEventStateTriggered
The event is triggered. -
APSMediaEventStateFinished
The event finished.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-