Control Surface API  1.1.11
PrimaryDevice Interface Reference
Inheritance diagram for PrimaryDevice:

Classes

enum  ChainLocation
enum  DeviceType

Public Member Functions

void switchToDevice (DeviceType deviceType, ChainLocation chainLocation)
void addCanSwitchToDeviceObserver (DeviceType deviceType, ChainLocation chainLocation, Callable callback)

Detailed Description

A special kind of device that represents the primary device of a track.

Since:
Bitwig Studio 1.0

Definition at line 10 of file PrimaryDevice.java.


Member Function Documentation

void addCanSwitchToDeviceObserver ( DeviceType  deviceType,
ChainLocation  chainLocation,
Callable  callback 
)

Registers an observer that reports if navigation to another device with the provided characteristics is possible.

Parameters:
deviceTypethe requested device type of the new primary device
chainLocationthe requested chain location of the new primary device
callbacka callback function the receives a single boolean parameter
Since:
Bitwig Studio 1.0
void switchToDevice ( DeviceType  deviceType,
ChainLocation  chainLocation 
)

Makes the device with the given type and location the new primary device.

Parameters:
deviceTypethe requested device type of the new primary device
chainLocationthe requested chain location of the new primary device
Since:
Bitwig Studio 1.0

List of all members.


The documentation for this interface was generated from the following file:
 All Classes Functions Variables