public static enum CdjStatus.PlayState1 extends Enum<CdjStatus.PlayState1>
| Enum Constant and Description |
|---|
CUE_PLAYING
Cue play is in progress (playback while the cue button is held down).
|
CUE_SCRATCHING
Cue scratch is in progress; the player will return to the cue point when the jog wheel is released.
|
CUED
The player is paused at the cue point.
|
ENDED
The player reached the end of the track and stopped.
|
LOADING
A track is in the process of being loaded.
|
LOOPING
The player is playing a loop.
|
NO_TRACK
No track has been loaded.
|
PAUSED
The player is paused anywhere other than the cue point.
|
PLAYING
The player is playing normally.
|
SEARCHING
The player is searching forwards or backwards.
|
UNKNOWN
We received a value we don’t recognize, so we don’t know what it means.
|
| Modifier and Type | Field and Description |
|---|---|
byte |
protocolValue
The value that represents this play state in a status update.
|
| Modifier and Type | Method and Description |
|---|---|
static CdjStatus.PlayState1 |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CdjStatus.PlayState1[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CdjStatus.PlayState1 NO_TRACK
public static final CdjStatus.PlayState1 LOADING
public static final CdjStatus.PlayState1 PLAYING
public static final CdjStatus.PlayState1 LOOPING
public static final CdjStatus.PlayState1 PAUSED
public static final CdjStatus.PlayState1 CUED
public static final CdjStatus.PlayState1 CUE_PLAYING
public static final CdjStatus.PlayState1 CUE_SCRATCHING
public static final CdjStatus.PlayState1 SEARCHING
public static final CdjStatus.PlayState1 ENDED
public static final CdjStatus.PlayState1 UNKNOWN
public final byte protocolValue
public static CdjStatus.PlayState1[] values()
for (CdjStatus.PlayState1 c : CdjStatus.PlayState1.values()) System.out.println(c);
public static CdjStatus.PlayState1 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 © 2016–2018 Deep Symmetry, LLC. All rights reserved.