Interface DeviceChain
- All Superinterfaces:
ObjectProxy,Subscribable
- All Known Subinterfaces:
Channel,CursorChannel,CursorDeviceLayer,CursorDeviceSlot,CursorTrack,DeviceLayer,DeviceSlot,DrumPad,MasterTrack,Track
The foundation of all interfaces that contain devices, such as tracks, device layers, drum pads or FX
slots.
- Since:
- API version 1
-
Method Summary
Modifier and TypeMethodDescriptionvoidRegisters an observer that reports if the device chain is selected in Bitwig Studio editors.voidDeprecated.voidaddNameObserver(int numChars, String textWhenUnassigned, StringValueChangedCallback callback) Deprecated.Usename()instead.voidDeprecated.UseendOfDeviceChainInsertionPoint()instead.voidDeprecated.UsestartOfDeviceChainInsertionPoint()instead.createDeviceBank(int numDevices) Returns an object that provides bank-wise navigation of devices.createDeviceBrowser(int numFilterColumnEntries, int numResultsColumnEntries) Returns an object used for browsing devices, presets and other content.InsertionPointthat can be used to insert at the end of the device chain.name()Value that reports the name of the device chain, such as the track name or the drum pad name.voidselect()Deprecated.UseselectInEditor()orChannel.selectInMixer()instead.voidSelects the device chain in Bitwig Studio, in case it is a selectable object.InsertionPointthat can be used to insert at the start of the device chain.Methods inherited from interface com.bitwig.extension.controller.api.ObjectProxy
createEqualsValue, existsMethods inherited from interface com.bitwig.extension.controller.api.Subscribable
isSubscribed, setIsSubscribed, subscribe, unsubscribe
-
Method Details
-
selectInEditor
void selectInEditor()Selects the device chain in Bitwig Studio, in case it is a selectable object.- Since:
- API version 1
-
name
SettableStringValue name()Value that reports the name of the device chain, such as the track name or the drum pad name.- Since:
- API version 2
-
addNameObserver
@Deprecated void addNameObserver(int numChars, String textWhenUnassigned, StringValueChangedCallback callback) Deprecated.Usename()instead.Registers an observer that reports the name of the device chain, such as the track name or the drum pad name.- Parameters:
numChars- the maximum number of characters used for the reported nametextWhenUnassigned- the default text that gets reported when the device chain is not associated with an object in Bitwig Studio yet.callback- a callback function that receives a single name parameter (string).- Since:
- API version 1
-
addIsSelectedInEditorObserver
Registers an observer that reports if the device chain is selected in Bitwig Studio editors.- Parameters:
callback- a callback function that takes a single boolean parameter.- Since:
- API version 1
-
addIsSelectedObserver
Deprecated.- Since:
- API version 1
-
createDeviceBank
Returns an object that provides bank-wise navigation of devices.- Parameters:
numDevices- the number of devices should be accessible simultaneously- Returns:
- the requested device bank object
- Since:
- API version 1
-
createDeviceBrowser
Returns an object used for browsing devices, presets and other content. Committing the browsing session will load or create a device from the selected resource and insert it into the device chain.- Parameters:
numFilterColumnEntries- the size of the window used to navigate the filter column entries.numResultsColumnEntries- the size of the window used to navigate the results column entries.- Returns:
- the requested device browser object.
- Since:
- API version 1
-
select
Deprecated.UseselectInEditor()orChannel.selectInMixer()instead.- Since:
- API version 1
-
browseToInsertAtStartOfChain
Deprecated.UsestartOfDeviceChainInsertionPoint()instead.Starts browsing for content that can be inserted at the start of this device chain.- Since:
- API version 2
-
browseToInsertAtEndOfChain
Deprecated.UseendOfDeviceChainInsertionPoint()instead.Starts browsing for content that can be inserted at the end of this device chain.- Since:
- API version 2
-
startOfDeviceChainInsertionPoint
InsertionPoint startOfDeviceChainInsertionPoint()InsertionPointthat can be used to insert at the start of the device chain.- Since:
- API version 7
-
endOfDeviceChainInsertionPoint
InsertionPoint endOfDeviceChainInsertionPoint()InsertionPointthat can be used to insert at the end of the device chain.- Since:
- API version 7
-
addIsSelectedInEditorObserver(com.bitwig.extension.callback.BooleanValueChangedCallback)instead.