setGoodReadLedDuration

abstract suspend fun setGoodReadLedDuration(deviceId: String, duration: GoodReadLedDuration): CommandResponse

Sets the good read LED duration for the given deviceId.

Return

A CommandResponse indicating the result.

Parameters

deviceId

The identifier of the target device.

duration

The duration of the LED.


abstract fun setGoodReadLedDuration(deviceId: String, duration: GoodReadLedDuration, callback: (Result<CommandResponse>) -> Unit)

Callback-based version of setGoodReadLedDuration for Java interoperability.

Parameters

deviceId

The identifier of the target device.

duration

The duration of the LED.

callback

Callback to receive the CommandResponse.