clearPreamble

abstract suspend fun clearPreamble(deviceId: String): CommandResponse

Clears the preamble formatting on the device.

Return

A CommandResponse indicating the success or failure of the operation.

Parameters

deviceId

The identifier of the target device.


abstract fun clearPreamble(deviceId: String, callback: (Result<CommandResponse>) -> Unit)

Callback-based version of clearPreamble for Java interoperability.

Parameters

deviceId

The identifier of the target device.

callback

Callback to receive the CommandResponse.