setOutputMode method
- required dynamic deviceId,
- required CompositeCodesOutputMode outputMode,
Sets the output mode for composite codes.
deviceId
- The identifier of the target device.
outputMode
- The CompositeCodesOutputMode enum value representing the desired output mode.
Returns a CommandResponse indicating the success or failure of the operation.
Implementation
Future<CommandResponse> setOutputMode(
{required deviceId, required CompositeCodesOutputMode outputMode}) async {
return sendCommand(deviceId, _outputModeCommands[outputMode]!);
}