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