Enum Class Status

java.lang.Object
java.lang.Enum<Status>
com.gluonhq.attach.video.Status
All Implemented Interfaces:
Serializable, Comparable<Status>, Constable

public enum Status extends Enum<Status>
Enumeration describing the different status values of a media player.
  • Enum Constant Details

    • UNKNOWN

      public static final Status UNKNOWN
      State of the player immediately after creation
    • READY

      public static final Status READY
      State of the player once it is prepared to play
    • PAUSED

      public static final Status PAUSED
      State of the player when playback is paused
    • PLAYING

      public static final Status PLAYING
      State of the player when it is currently playing
    • STOPPED

      public static final Status STOPPED
      State of the player when playback has stopped
    • DISPOSED

      public static final Status DISPOSED
      State of the player after dispose() method is invoked
  • Method Details

    • values

      public static Status[] 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

      public static Status valueOf(String name)
      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 name
      NullPointerException - if the argument is null