observeProperty

abstract fun observeProperty(identifier: String): Flow<CmPropertyResult>

Observes the value of a specific property on the connected module.

Safe to call before initiating connection. Continues to emit values even after disconnecting or connecting to different modules.

Return

A Flow emitting CmPropertyResult with the current value of the specified property.

Parameters

identifier

The identifier of the property to observe. Can be obtained from observePropertiesInfo.

See also