private async void _client_onStopSearch(IPenClient sender, Windows.Devices.Bluetooth.BluetoothError args) { await this.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () => IsSearching = false); }
private async void MClient_onStopSearch(BluetoothPenClient sender, Windows.Devices.Bluetooth.BluetoothError args) { Debug.WriteLine("Watcher finidhed"); await this.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () => IsSearching = false); }
public static BluetoothError ToRXBluetoothError(this Windows.Devices.Bluetooth.BluetoothError self) { return((BluetoothError)self); }