setPreambleFromKeys abstract method

Future<CommandResponse> setPreambleFromKeys({
  1. required String deviceId,
  2. required List<DirectInputKey> keys,
})

Sets the preamble formatting using a list of DirectInputKey.

deviceId - The identifier of the target device. keys - A list of DirectInputKey values for the preamble, with a maximum length of 8.

Returns a CommandResponse indicating the success or failure of the operation.

Implementation

Future<CommandResponse> setPreambleFromKeys(
    {required String deviceId, required List<DirectInputKey> keys});