java.lang.Object
java.lang.Enum<State>
uk.co.caprica.vlcj.player.base.State
All Implemented Interfaces:
Serializable, Comparable<State>, java.lang.constant.Constable

public enum State extends Enum<State>
Enumeration of native media/player states.
  • Enum Constant Details

    • NOTHING_SPECIAL

      public static final State NOTHING_SPECIAL
    • OPENING

      public static final State OPENING
    • BUFFERING

      public static final State BUFFERING
    • PLAYING

      public static final State PLAYING
    • PAUSED

      public static final State PAUSED
    • STOPPED

      public static final State STOPPED
    • ENDED

      public static final State ENDED
    • ERROR

      public static final State ERROR
  • Method Details

    • values

      public static State[] 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 State 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
    • state

      public static State state(int intValue)
      Get an enumerated value for a native value.
      Parameters:
      intValue - native value
      Returns:
      enumerated value
    • intValue

      public int intValue()
      Get the native value.
      Returns:
      value