Enum Class MediaKind

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

public enum MediaKind extends Enum<MediaKind>
What a session says it is playing. Browsers report MUSIC for everything, so treat it as a hint.
  • Enum Constant Details

    • MUSIC

      public static final MediaKind MUSIC
    • VIDEO

      public static final MediaKind VIDEO
    • OTHER

      public static final MediaKind OTHER
    • UNKNOWN

      public static final MediaKind UNKNOWN
  • Method Details

    • values

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