public enum SonosPlaybackState extends Enum<SonosPlaybackState>
SonosPlaybackState class.
| Enum Constant and Description |
|---|
PLAYBACK_STATE_BUFFERING |
PLAYBACK_STATE_IDLE |
PLAYBACK_STATE_PAUSED |
PLAYBACK_STATE_PLAYING |
| Modifier and Type | Method and Description |
|---|---|
static SonosPlaybackState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SonosPlaybackState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SonosPlaybackState PLAYBACK_STATE_BUFFERING
public static final SonosPlaybackState PLAYBACK_STATE_IDLE
public static final SonosPlaybackState PLAYBACK_STATE_PAUSED
public static final SonosPlaybackState PLAYBACK_STATE_PLAYING
public static SonosPlaybackState[] values()
for (SonosPlaybackState c : SonosPlaybackState.values()) System.out.println(c);
public static SonosPlaybackState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018. All rights reserved.