简体   繁体   English

Windows Phone 8.1蓝牙开/关更改

[英]Windows phone 8.1 Bluetooth on/off change

How to handle bluetooth on/off change in Windows phone 8.1. 如何处理Windows Phone 8.1中的蓝牙开/关更改。 Is there any event for this? 有什么事吗?

I think you have to use the TriggeredConnectionStateChanged event (in Windows.Networking.Proximity.PeerFinder ). 我认为您必须使用TriggeredConnectionStateChanged事件(在Windows.Networking.Proximity.PeerFinder )。

The event gives you a state back that is of type triggeredconnectstate which can be canceled or failed . 本次活动为您提供了一个状态恢复是类型triggeredconnectstate可以canceledfailed

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM