notifyBluetoothScanner method

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

Sends a notification request to a Bluetooth scanner.

request specifies the device identifier and notification settings. Use DataWedgeNotificationRequest to configure LED, beep, or vibration notifications.

Implementation

Future<void> notifyBluetoothScanner(
  DataWedgeNotificationRequest request, {
  String? commandTag,
  bool requestResult = true,
}) {
  return sendCommandBundle(
    command: DataWedgeApi.notify,
    value: request.toMap(),
    commandTag: commandTag ?? 'NOTIFY_SCANNER',
    requestResult: requestResult,
  );
}