Enum Class PlaybackSession.State

java.lang.Object
java.lang.Enum<PlaybackSession.State>
org.jjazz.musiccontrol.api.playbacksession.PlaybackSession.State
All Implemented Interfaces:
Serializable, Comparable<PlaybackSession.State>, Constable
Enclosing interface:
PlaybackSession

public static enum PlaybackSession.State extends Enum<PlaybackSession.State>
  • Enum Constant Details

    • NEW

      public static final PlaybackSession.State NEW
      State of the session upon creation, sequence and related data are not generated yet.

      Sequence and related data values are undefined in this state.

    • GENERATED

      public static final PlaybackSession.State GENERATED
      Sequence and related data have been generated.
    • CLOSED

      public static final PlaybackSession.State CLOSED
      The session is closed (e.g. song is no more available) and any playback should be stopped.
  • Method Details

    • values

      public static PlaybackSession.State[] 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 PlaybackSession.State 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