iphone - BluetoothManager 框架通知列表
<p><p>我想获取 BluetoothManager 私有(private)框架的所有通知。我一直在搜索,但只找到了两个(BluetoothAvailabilityChangedNotification 和 BluetoothDeviceDiscoveredNotification)。
我对报告 iphone 是否连接/断开设备的通知很感兴趣。如果有人能给我一份所有通知的列表,我将不胜感激。</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>我没有完整的列表,但这些是您感兴趣的:</p>
<pre><code>BluetoothDeviceConnectFailedNotification
BluetoothDeviceConnectSuccessNotification
BluetoothDeviceDisconnectFailedNotification // haven't confirmed this one
BluetoothDeviceDisconnectSuccessNotification
</code></pre>
<p>还有一些其他的:</p>
<pre><code>BluetoothConnectabilityChangedNotification // fires when bluetooth is turned on/off
BluetoothAvailabilityChangedNotification // seems to fire once at app start)
BluetoothPowerChangedNotification
BluetoothDeviceDiscoveredNotification
BluetoothDeviceRemovedNotification
BluetoothPairingUserNumericComparisionNotification
BluetoothPairingPINResultSuccessNotification
</code></pre></p>
<p style="font-size: 20px;">关于iphone - BluetoothManager 框架通知列表,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/10674372/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/10674372/
</a>
</p>
页:
[1]