scannerInputPlugin method

Future<void> scannerInputPlugin(
  1. String action, {
  2. String? commandTag,
  3. bool requestResult = true,
})

Sends a generic scanner input plugin command.

action specifies the plugin action. Use values from DataWedgeScannerInputAction for enable, disable, suspend, or resume.

Implementation

Future<void> scannerInputPlugin(
  String action, {
  String? commandTag,
  bool requestResult = true,
}) {
  return sendCommand(
    command: DataWedgeApi.scannerInputPlugin,
    value: action,
    commandTag: commandTag ?? 'SCANNER_INPUT_PLUGIN',
    requestResult: requestResult,
  );
}