Bitwig Studio Control Surface API  5.0.11
IntegerValue Interface Reference
+ Inheritance diagram for IntegerValue:

Public Member Functions

int get ()
 
default int getAsInt ()
 
void addValueObserver (IntegerValueChangedCallback callback, int valueWhenUnassigned)
 
- Public Member Functions inherited from Value< IntegerValueChangedCallback >
void markInterested ()
 
void addValueObserver (ObserverType callback)
 

Member Function Documentation

◆ addValueObserver()

void addValueObserver ( IntegerValueChangedCallback  callback,
int  valueWhenUnassigned 
)

Adds an observer that is notified when this value changes. This is intended to aid in backwards compatibility for drivers written to the version 1 API.

Parameters
callbackThe callback to notify with the new value
valueWhenUnassignedThe value that the callback will be notified with if this value is not currently assigned to anything.

◆ get()

int get ( )

Gets the current value.

Since
API version 2

The documentation for this interface was generated from the following file: