customNotifyBluetoothScanner method
Future<void>
customNotifyBluetoothScanner(
- DataWedgeCustomNotificationRequest request, {
- String? commandTag,
- bool requestResult = true,
Sends a custom notification request to a Bluetooth scanner.
request specifies custom LED, beep, and vibration settings.
Use DataWedgeCustomNotificationRequest for full control over notification behavior.
Implementation
Future<void> customNotifyBluetoothScanner(
DataWedgeCustomNotificationRequest request, {
String? commandTag,
bool requestResult = true,
}) {
return sendCommandBundle(
command: DataWedgeApi.notify,
value: request.toMap(),
commandTag: commandTag ?? 'CUSTOM_NOTIFY_SCANNER',
requestResult: requestResult,
);
}