switchScannerByIdentifier method
Switches to a scanner by its identifier string.
scannerIdentifier is the scanner identifier (e.g.,
DataWedgeScannerIdentifier.internalImager, DataWedgeScannerIdentifier.bluetoothRs6000).
Implementation
Future<void> switchScannerByIdentifier(
String scannerIdentifier, {
String? commandTag,
bool requestResult = true,
}) {
return sendCommand(
command: DataWedgeApi.switchScannerEx,
value: scannerIdentifier,
commandTag: commandTag ?? 'SWITCH_SCANNER_$scannerIdentifier',
requestResult: requestResult,
);
}