iphone - BluetoothManager 框架通知列表

标签 iphone objective-c ios bluetooth iphone-privateapi

我想获取BluetoothManager私有(private)框架的所有通知。我一直在搜索,但只找到了两个(BluetoothAvailabilityChangedNotification 和 BluetoothDeviceDiscoveredNotification)。 我对报告 iphone 是否连接/断开到设备的通知感兴趣。如果有人能给我一份所有通知的列表,我将不胜感激。

最佳答案

我没有完整的列表,但这些是您感兴趣的:

BluetoothDeviceConnectFailedNotification
BluetoothDeviceConnectSuccessNotification
BluetoothDeviceDisconnectFailedNotification // haven't confirmed this one
BluetoothDeviceDisconnectSuccessNotification

以下是其他一些:

BluetoothConnectabilityChangedNotification // fires when bluetooth is turned on/off
BluetoothAvailabilityChangedNotification // seems to fire once at app start)
BluetoothPowerChangedNotification
BluetoothDeviceDiscoveredNotification
BluetoothDeviceRemovedNotification
BluetoothPairingUserNumericComparisionNotification
BluetoothPairingPINResultSuccessNotification

关于iphone - BluetoothManager 框架通知列表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10674372/

相关文章:

iphone - 使用 CPU 在 iOS 上最快的 YUV420P 到 RGBA 转换

Objective-C 乱码求解器

iphone - 如何在 iPhone 中记录/跟踪用户操作......?

ios - 表格 View 、手册和设置尽在一个屏幕中 : Best practice?

ios - 在 Xcode 4.5 中打开 Google+ 应用程序

iphone - 为什么所有人都建议在 iphone 中使用 PNG 而不是 GIF、JPG 图像?

iphone - 代码 'CodeSign error: code signing is required'

iphone - 如何查找访问量最高的 20 个项目并将其添加为收藏夹

ios - 如何显示流式 Apple Music 的专辑插图?

ios - MFMailComposeViewController 在 iPad 上崩溃