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

Public Member Functions

int currentValue ()
 
int lastSentValue ()
 
void onUpdateHardware (IntConsumer sendValueConsumer)
 
void setValue (int value)
 
void setValueSupplier (IntSupplier supplier)
 

Detailed Description

Represents an output value shown on some hardware.

Since
API version 10

Member Function Documentation

◆ currentValue()

int currentValue ( )

Gets the current value. This is the value that should be sent to the hardware to be displayed.

◆ lastSentValue()

int lastSentValue ( )

The value that was last sent to the hardware.

◆ onUpdateHardware()

void onUpdateHardware ( IntConsumer  sendValueConsumer)

Specifies a callback that should be called with the value that needs to be sent to the hardware. This callback is called as a result of calling the HardwareSurface#updateHardware() method (typically from the flush method).

◆ setValue()

void setValue ( int  value)

Sets the current value.

◆ setValueSupplier()

void setValueSupplier ( IntSupplier  supplier)

Sets the current value from a BooleanSupplier that supplies the latest value.


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