setReadTime

abstract suspend fun setReadTime(deviceId: String, time: ReadTime): CommandResponse

Sets the read time for the scanner.

Return

A CommandResponse indicating the success or failure of the operation.

Parameters

deviceId

The identifier of the target device.

time

The duration for reading, specified by ReadTime.


abstract fun setReadTime(deviceId: String, time: ReadTime, callback: (Result<CommandResponse>) -> Unit)

Callback-based version of setReadTime for Java interoperability.

Parameters

deviceId

The identifier of the target device.

time

The duration for reading, specified by ReadTime.

callback

Callback to receive the CommandResponse.