|
Control Surface API
1.1.11
|

Classes | |
| enum | ChainLocation |
| enum | DeviceType |
Public Member Functions | |
| void | switchToDevice (DeviceType deviceType, ChainLocation chainLocation) |
| void | addCanSwitchToDeviceObserver (DeviceType deviceType, ChainLocation chainLocation, Callable callback) |
A special kind of device that represents the primary device of a track.
Definition at line 10 of file PrimaryDevice.java.
| void addCanSwitchToDeviceObserver | ( | DeviceType | deviceType, |
| ChainLocation | chainLocation, | ||
| Callable | callback | ||
| ) |
Registers an observer that reports if navigation to another device with the provided characteristics is possible.
| deviceType | the requested device type of the new primary device |
| chainLocation | the requested chain location of the new primary device |
| callback | a callback function the receives a single boolean parameter |
| void switchToDevice | ( | DeviceType | deviceType, |
| ChainLocation | chainLocation | ||
| ) |
Makes the device with the given type and location the new primary device.
| deviceType | the requested device type of the new primary device |
| chainLocation | the requested chain location of the new primary device |