private void InstanceOnFindMyGearStopped(object sender, EventArgs e) { ScannerBtn.Stop(); Dispatcher.Invoke(() => { LeftMuteBtn.Visibility = Visibility.Hidden; RightMuteBtn.Visibility = Visibility.Hidden; LeftMuteBtn.SetMuted(false); RightMuteBtn.SetMuted(false); }); }
public override void OnPageHidden() { BluetoothService.Instance.SendAsync(SPPMessageBuilder.FindMyGear.Stop()); ScannerBtn.Stop(); }