Enum Class Control

java.lang.Object
java.lang.Enum<Control>
lol.trq.orpheus.Control
All Implemented Interfaces:
Serializable, Comparable<Control>, Constable

public enum Control extends Enum<Control>
A playback command. Which ones work is reported per snapshot by Playback.can(Control).
  • Enum Constant Details

    • PLAY

      public static final Control PLAY
    • PAUSE

      public static final Control PAUSE
    • TOGGLE

      public static final Control TOGGLE
    • STOP

      public static final Control STOP
    • NEXT

      public static final Control NEXT
    • PREVIOUS

      public static final Control PREVIOUS
    • SEEK

      public static final Control SEEK
    • FAST_FORWARD

      public static final Control FAST_FORWARD
    • REWIND

      public static final Control REWIND
    • SHUFFLE

      public static final Control SHUFFLE
    • REPEAT

      public static final Control REPEAT
    • RATE

      public static final Control RATE
    • VOLUME

      public static final Control VOLUME
    • MUTE

      public static final Control MUTE
  • Method Details

    • values

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