set Positive And Negative Barcodes Mode
abstract suspend fun setPositiveAndNegativeBarcodesMode(deviceId: String, mode: PositiveAndNegativeBarcodesMode): CommandResponse
Sets the mode for reading positive and negative barcodes.
Return
A CommandResponse indicating the success or failure of the operation.
Parameters
device Id
The identifier of the target device.
mode
The mode to set for barcode reading, specified by PositiveAndNegativeBarcodesMode.
abstract fun setPositiveAndNegativeBarcodesMode(deviceId: String, mode: PositiveAndNegativeBarcodesMode, callback: (Result<CommandResponse>) -> Unit)
Callback-based version of setPositiveAndNegativeBarcodesMode for Java interoperability.
Parameters
device Id
The identifier of the target device.
mode
The mode to set for barcode reading, specified by PositiveAndNegativeBarcodesMode.
callback
Callback to receive the CommandResponse.