set Preamble From String
Sets the preamble formatting using a string.
Return
A CommandResponse indicating the success or failure of the operation.
Parameters
device Id
The identifier of the target device.
preamble
A string to be used as the preamble.
abstract fun setPreambleFromString(deviceId: String, preamble: String, callback: (Result<CommandResponse>) -> Unit)
Callback-based version of setPreambleFromString for Java interoperability.
Parameters
device Id
The identifier of the target device.
preamble
A string to be used as the preamble.
callback
Callback to receive the CommandResponse.