MimiProcessingParameter

Important: This interface is not stable for inheritance, as new methods may be added, but is stable for use.

Originally defined in MSDK 5.0.0, significant breaking changes were made in MSDK 10.0.0 and it was moved to libProcessing in MSDK 12.0.0.

Since

10.0.0

12.0.0 moved io.mimi.sdk.processing

Parameters

T

The parameter value type

Properties

Link copied to clipboard
abstract val value: T

The current value of the MimiProcessingParameter - it is the most recent successfully applied value.

Functions

Link copied to clipboard
abstract suspend fun apply(value: T): ProcessingParameterResult

Attempts to update the the connected Processing system with the given value by updating the Applicator via the registered Applicator function..

Link copied to clipboard
abstract suspend fun load(): ProcessingParameterResult

Triggers the asynchronous updating of the MimiProcessingParameter value from an asynchronous data source.

Link copied to clipboard
abstract suspend fun observe(tag: String? = null, observer: (ProcessingParameterState<T>) -> Unit)

Observes updates indicating the current state of the MimiProcessingParameter.

Link copied to clipboard

Attempts to update the connected Processing system with the current MimiProcessingParameter.value via the registered Applicator function.