You can have a try to see if it can restore the bluetooth to working state. Private async void TurnOff_Click(object sender, RoutedEventArgs e)Īwait radio.SetStateAsync(RadioState.Off) Var radios = await Radio.GetRadiosAsync() Īwait radio.SetStateAsync(RadioState.On) Private async void TurnOn_Click(object sender, RoutedEventArgs e) You can turn on and off the bluetooth radio programmatically. >3) Is it possible to stop and start bluetooth radio using a headed UWP app (still without user interaction)?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |