setPostambleFromKeys

abstract suspend fun setPostambleFromKeys(deviceId: String, keys: List<DirectInputKey>): CommandResponse

Sets the postamble formatting using a list of DirectInputKey.

Return

A CommandResponse indicating the success or failure of the operation.

Parameters

deviceId

The identifier of the target device.

keys

A list of DirectInputKey values to be used for the postamble.


abstract fun setPostambleFromKeys(deviceId: String, keys: List<DirectInputKey>, callback: (Result<CommandResponse>) -> Unit)

Callback-based version of setPostambleFromKeys for Java interoperability.

Parameters

deviceId

The identifier of the target device.

keys

A list of DirectInputKey values to be used for the postamble.

callback

Callback to receive the CommandResponse.