Skip to content

com.oscleton.sdk / CallbackReceiver

CallbackReceiver

class CallbackReceiver

CallbackReceiver contains callbacks triggered by the Live set data changes.

If you prefer using a reactive approach, consider implementing ReactiveReceiver instead.

Since 0.1

See Also

ReactiveReceiver

Functions

Name Summary
removeAllListeners fun removeAllListeners():Unit
Remove all listeners.
removeOnDeviceParameterChangeListener fun ~~removeOnDeviceParameterChangeListener~~():Unit
Remove the current OnDeviceParameterChangeListener.
removeOnMasterDeviceParameterChangeListener fun removeOnMasterDeviceParameterChangeListener():Unit
Remove the current OnMasterDeviceParameterChangeListener.
removeOnMasterParameterChangeListener fun removeOnMasterParameterChangeListener():Unit
Remove the current OnMasterParameterChangeListener.
removeOnReturnDeviceParameterChangeListener fun removeOnReturnDeviceParameterChangeListener():Unit
Remove the current OnReturnDeviceParameterChangeListener.
removeOnReturnParameterChangeListener fun removeOnReturnParameterChangeListener():Unit
Remove the current OnReturnParameterChangeListener.
removeOnTempoChangeListener fun removeOnTempoChangeListener():Unit
Remove the current OnTempoChangeListener.
removeOnTrackDeviceParameterChangeListener fun removeOnTrackDeviceParameterChangeListener():Unit
Remove the current OnTrackDeviceParameterChangeListener.
removeOnTrackParameterChangeListener fun removeOnTrackParameterChangeListener():Unit
Remove the current OnTrackParameterChangeListener.
removeOnTrackSendChangeListener fun removeOnTrackSendChangeListener():Unit
Remove the current OnTrackSendChangeListener.
set fun set(listener:OnTempoChangeListener):Unit
Register a callback to be invoked when the general tempo changes.fun ~~set~~(listener:OnDeviceParameterChangeListener):Unit
Register a callback to be invoked when device parameter changes.fun set(listener:OnTrackDeviceParameterChangeListener):Unit
Register a callback to be invoked when track device parameter changes.fun set(listener:OnTrackParameterChangeListener):Unit
Register a callback to be invoked when track parameter changes.fun set(listener:OnReturnDeviceParameterChangeListener):Unit
Register a callback to be invoked when return device parameter changes.fun set(listener:OnReturnParameterChangeListener):Unit
Register a callback to be invoked when return parameter changes.fun set(listener:OnMasterParameterChangeListener):Unit
Register a callback to be invoked when master parameter changes.fun set(listener:OnMasterDeviceParameterChangeListener):Unit
Register a callback to be invoked when master device parameter changes.fun set(listener:OnTrackSendChangeListener):Unit
Register a callback to be invoked when track send changes.

Extension Properties

Name Summary
boolean valAny.boolean:Boolean
Extension property to cast an Any to Boolean.
float valAny.float:Float
Extension property to cast an Any to Float.
int valAny.int:Int
Extension property to cast an Any to Int.
string valAny.string:String
Extension property to cast an Any to String.