setPostambleFromString

abstract suspend fun setPostambleFromString(deviceId: String, postamble: String): CommandResponse

Sets the postamble formatting using a string.

Return

A CommandResponse indicating the success or failure of the operation.

Parameters

deviceId

The identifier of the target device.

postamble

A string to be used as the postamble.


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

Callback-based version of setPostambleFromString for Java interoperability.

Parameters

deviceId

The identifier of the target device.

postamble

A string to be used as the postamble.

callback

Callback to receive the CommandResponse.