setOutputMode

abstract suspend fun setOutputMode(deviceId: String, outputMode: CompositeCodesOutputMode): CommandResponse

Sets the output mode for composite codes.

Return

A CommandResponse indicating the success or failure of the operation.

Parameters

deviceId

The identifier of the target device.

outputMode

The CompositeCodesOutputMode enum value representing the desired output mode.


abstract fun setOutputMode(deviceId: String, outputMode: CompositeCodesOutputMode, callback: (Result<CommandResponse>) -> Unit)

Callback-based version of setOutputMode for Java interoperability.

Parameters

deviceId

The identifier of the target device.

outputMode

The CompositeCodesOutputMode enum value representing the desired output mode.

callback

Callback to receive CommandResponse or an error.