public async Task HandleDiscoveryAsync(DiscoveredBluetoothDevice device)
 {
     Application.Current.Dispatcher.Invoke(() =>
     {
         LogMessage($"Discovered device: {device.Name}");
     });
     await Task.CompletedTask;
 }
Beispiel #2
0
 public async Task HandleDiscoveryAsync(DiscoveredBluetoothDevice device)
 {
     Console.WriteLine($"Discovered device: {device.Name}");
     await Task.CompletedTask;
 }
Beispiel #3
0
 public Task HandleDiscoveryAsync(DiscoveredBluetoothDevice discoveredDevice)
 {
     return(Task.CompletedTask);
 }