Package org.deepsymmetry.beatlink
Enum CdjStatus.PlayState3
- java.lang.Object
-
- java.lang.Enum<CdjStatus.PlayState3>
-
- org.deepsymmetry.beatlink.CdjStatus.PlayState3
-
- All Implemented Interfaces:
Serializable
,Comparable<CdjStatus.PlayState3>
- Enclosing class:
- CdjStatus
public static enum CdjStatus.PlayState3 extends Enum<CdjStatus.PlayState3>
The possible values of the third play state found in the packet, labeled P3 in the Packet Analysis document.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FORWARD_CDJ
The player is playing in Forward mode with jog mode set to CDJ.FORWARD_VINYL
The player is playing in Forward mode with jog mode set to Vinyl.NO_TRACK
No track has been loaded.PAUSED_OR_REVERSE
The player is paused or playing in Reverse mode.UNKNOWN
We received a value that we did not recognize, so we don’t know what it means.
-
Field Summary
Fields Modifier and Type Field Description byte
protocolValue
The value that represents this play state in a status update.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CdjStatus.PlayState3
valueOf(String name)
Returns the enum constant of this type with the specified name.static CdjStatus.PlayState3[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_TRACK
public static final CdjStatus.PlayState3 NO_TRACK
No track has been loaded.
-
PAUSED_OR_REVERSE
public static final CdjStatus.PlayState3 PAUSED_OR_REVERSE
The player is paused or playing in Reverse mode.
-
FORWARD_VINYL
public static final CdjStatus.PlayState3 FORWARD_VINYL
The player is playing in Forward mode with jog mode set to Vinyl.
-
FORWARD_CDJ
public static final CdjStatus.PlayState3 FORWARD_CDJ
The player is playing in Forward mode with jog mode set to CDJ.
-
UNKNOWN
public static final CdjStatus.PlayState3 UNKNOWN
We received a value that we did not recognize, so we don’t know what it means.
-
-
Method Detail
-
values
public static CdjStatus.PlayState3[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CdjStatus.PlayState3 c : CdjStatus.PlayState3.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CdjStatus.PlayState3 valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-