Package org.deepsymmetry.bcj
Enum SyncMode
- java.lang.Object
-
- java.lang.Enum<SyncMode>
-
- org.deepsymmetry.bcj.SyncMode
-
- All Implemented Interfaces:
Serializable
,Comparable<SyncMode>
@API(status=MAINTAINED) public enum SyncMode extends Enum<SyncMode>
Tracks the synchronization, if any, being performed between the Ableton Link network and the Pro DJ Link network.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FULL
Bidirectional, determined by the Master and Sync states of players on the DJ Link network, including Beat Link’sVirtualCDJ
, which stands in for the Ableton Link session.MANUAL
External code will be callingCarabiner.lockTempo(double)
andCarabiner.unlockTempo()
to manipulate the Ableton Link session.OFF
No synchronization is being performed.PASSIVE
Ableton Link always follows the Pro DJ Link network, and we do not attempt to control other players on that network.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SyncMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static SyncMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFF
public static final SyncMode OFF
No synchronization is being performed.
-
MANUAL
public static final SyncMode MANUAL
External code will be callingCarabiner.lockTempo(double)
andCarabiner.unlockTempo()
to manipulate the Ableton Link session.
-
PASSIVE
public static final SyncMode PASSIVE
Ableton Link always follows the Pro DJ Link network, and we do not attempt to control other players on that network.
-
FULL
public static final SyncMode FULL
Bidirectional, determined by the Master and Sync states of players on the DJ Link network, including Beat Link’sVirtualCDJ
, which stands in for the Ableton Link session.
-
-
Method Detail
-
values
public static SyncMode[] 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 (SyncMode c : SyncMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SyncMode 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
-
-