setPropertyValue

abstract suspend fun setPropertyValue(identifier: String, value: CmPropertyValue, timeStamp: Long? = null): CmWriteResult

Sets the value of a property on the connected module.

Please, make sure that the value complies with the requirements:

Return

A CmWriteResult indicating the result of the operation.

Parameters

identifier

The identifier of the property to modify.

value

The new value to set for the property, of type CmPropertyValue.

timeStamp

Optional timestamp used by module to prioritize when receiving commands from multiple sources. Typically, use default.

See also