setGS1128Mode

abstract suspend fun setGS1128Mode(deviceId: String, mode: Code128AndGS1128Mode): CommandResponse

Sets the mode for Code 128 and GS1-128 symbologies.

Return

A CommandResponse indicating the success or failure of the operation.

Parameters

deviceId

The identifier of the target device.

mode

The Code128AndGS1128Mode enum value representing the desired mode.


abstract fun setGS1128Mode(deviceId: String, mode: Code128AndGS1128Mode, callback: (Result<CommandResponse>) -> Unit)

Callback-based version of setGS1128Mode for Java interoperability.

Parameters

deviceId

The identifier of the target device.

mode

The Code128AndGS1128Mode enum value representing the desired mode.

callback

Callback to receive CommandResponse or an error.