Package org.deepsymmetry.beatlink
Enum CdjStatus.TrackSourceSlot
- java.lang.Object
-
- java.lang.Enum<CdjStatus.TrackSourceSlot>
-
- org.deepsymmetry.beatlink.CdjStatus.TrackSourceSlot
-
- All Implemented Interfaces:
Serializable
,Comparable<CdjStatus.TrackSourceSlot>
- Enclosing class:
- CdjStatus
public static enum CdjStatus.TrackSourceSlot extends Enum<CdjStatus.TrackSourceSlot>
The possible values describing from where the track was loaded, labeled Sr in the Packet Analysis document.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CD_SLOT
The track was loaded from a CD.COLLECTION
The track was loaded from a computer’s rekordbox collection over the network.NO_TRACK
Nothing has been loaded.SD_SLOT
The track was loaded from the Secure Digital media slot.UNKNOWN
We saw a value that we did not recognize, so we don’t know where the track came from.USB_SLOT
The track was loaded from the USB socket.
-
Field Summary
Fields Modifier and Type Field Description byte
protocolValue
The value that represents this media source in a status update or dbserver request.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CdjStatus.TrackSourceSlot
valueOf(String name)
Returns the enum constant of this type with the specified name.static CdjStatus.TrackSourceSlot[]
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.TrackSourceSlot NO_TRACK
Nothing has been loaded.
-
CD_SLOT
public static final CdjStatus.TrackSourceSlot CD_SLOT
The track was loaded from a CD.
-
SD_SLOT
public static final CdjStatus.TrackSourceSlot SD_SLOT
The track was loaded from the Secure Digital media slot.
-
USB_SLOT
public static final CdjStatus.TrackSourceSlot USB_SLOT
The track was loaded from the USB socket.
-
COLLECTION
public static final CdjStatus.TrackSourceSlot COLLECTION
The track was loaded from a computer’s rekordbox collection over the network.
-
UNKNOWN
public static final CdjStatus.TrackSourceSlot UNKNOWN
We saw a value that we did not recognize, so we don’t know where the track came from.
-
-
Method Detail
-
values
public static CdjStatus.TrackSourceSlot[] 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.TrackSourceSlot c : CdjStatus.TrackSourceSlot.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.TrackSourceSlot 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
-
-