Package org.deepsymmetry.beatlink
Enum CdjStatus.TrackType
- java.lang.Object
-
- java.lang.Enum<CdjStatus.TrackType>
-
- org.deepsymmetry.beatlink.CdjStatus.TrackType
-
- All Implemented Interfaces:
Serializable
,Comparable<CdjStatus.TrackType>
- Enclosing class:
- CdjStatus
public static enum CdjStatus.TrackType extends Enum<CdjStatus.TrackType>
The possible values describing the track type, labeled tr in the Packet Analysis document.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CD_DIGITAL_AUDIO
The track was loaded from an audio CD, and so has not been analyzed for beat grid and waveforms.NO_TRACK
No track has been loaded.REKORDBOX
The track was loaded from a rekordbox database, and has been analyzed for beat grid and waveforms.UNANALYZED
The track was loaded from digital media (including a data disc), but was not from rekordbox, and so has not been analyzed for beat grid and waveforms.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 track type in a status update.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CdjStatus.TrackType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CdjStatus.TrackType[]
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.TrackType NO_TRACK
No track has been loaded.
-
REKORDBOX
public static final CdjStatus.TrackType REKORDBOX
The track was loaded from a rekordbox database, and has been analyzed for beat grid and waveforms.
-
UNANALYZED
public static final CdjStatus.TrackType UNANALYZED
The track was loaded from digital media (including a data disc), but was not from rekordbox, and so has not been analyzed for beat grid and waveforms.
-
CD_DIGITAL_AUDIO
public static final CdjStatus.TrackType CD_DIGITAL_AUDIO
The track was loaded from an audio CD, and so has not been analyzed for beat grid and waveforms.
-
UNKNOWN
public static final CdjStatus.TrackType UNKNOWN
We received a value that we did not recognize, so we don’t know what it means.
-
-
Method Detail
-
values
public static CdjStatus.TrackType[] 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.TrackType c : CdjStatus.TrackType.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.TrackType 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
-
-