Enum AudioCueInstanceEvent.Type

java.lang.Object
java.lang.Enum<AudioCueInstanceEvent.Type>
com.adonax.audiocue.AudioCueInstanceEvent.Type
All Implemented Interfaces:
Serializable, Comparable<AudioCueInstanceEvent.Type>, java.lang.constant.Constable
Enclosing class:
AudioCueInstanceEvent

public static enum AudioCueInstanceEvent.Type extends Enum<AudioCueInstanceEvent.Type>
An enumeration of events that occur during the lifetime of an AudioCue instance.
  • Enum Constant Details

    • OBTAIN_INSTANCE

      public static final AudioCueInstanceEvent.Type OBTAIN_INSTANCE
      Indicates that an instance has been obtained from the pool of available instances.
    • RELEASE_INSTANCE

      public static final AudioCueInstanceEvent.Type RELEASE_INSTANCE
      Indicates that an instance has been released and returned to the pool of available instances.
    • START_INSTANCE

      public static final AudioCueInstanceEvent.Type START_INSTANCE
      Indicates that an instance has started playing.
    • STOP_INSTANCE

      public static final AudioCueInstanceEvent.Type STOP_INSTANCE
      Indicates that an instance has stopped playing.
    • LOOP

      public static final AudioCueInstanceEvent.Type LOOP
      Indicates that an instance has finished playing and is starting to play again from the beginning of the media.
  • Method Details

    • values

      public static AudioCueInstanceEvent.Type[] 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

      public static AudioCueInstanceEvent.Type 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 name
      NullPointerException - if the argument is null