Bitwig Studio Control Surface API  5.0.11
HardwareBindingSource< HardwareBindingType extends HardwareBinding > Interface Template Reference

Public Member Functions

boolean canBindTo (Object target)
 
HardwareBindingType addBinding (HardwareBindable target)
 
void clearBindings ()
 
HardwareBindingType setBinding (HardwareBindable target)
 

Detailed Description

Represents the source of a HardwareBinding.

Since
API version 10

Member Function Documentation

◆ addBinding()

HardwareBindingType addBinding ( HardwareBindable  target)

Binds this source to the supplied target and returns the created binding. This can only be called if the canBindTo(Object) returns true.

◆ canBindTo()

boolean canBindTo ( Object  target)

Checks if it is possible to make a binding from this source to the supplied target object.

◆ clearBindings()

void clearBindings ( )

Clears all bindings from this source to its targets.

◆ setBinding()

HardwareBindingType setBinding ( HardwareBindable  target)

Ensures there is a single binding to the supplied target.

This is a convenience method that is equivalent to calling clearBindings() and the addBinding(HardwareBindable)


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