Bitwig Studio Control Surface API  4.0.1
IntegerHardwareProperty.java
1 package com.bitwig.extension.controller.api;
2 
3 import java.util.function.BooleanSupplier;
4 import java.util.function.IntConsumer;
5 import java.util.function.IntSupplier;
6 
12 public interface IntegerHardwareProperty extends HardwareProperty
13 {
15  int currentValue();
16 
18  int lastSentValue();
19 
25  void onUpdateHardware(IntConsumer sendValueConsumer);
26 
28  void setValue(int value);
29 
31  void setValueSupplier(IntSupplier supplier);
32 }
void onUpdateHardware(IntConsumer sendValueConsumer)