您的位置:首页 > 移动开发 > Android开发

android蓝牙-isMultipleAdvertisementSupported(API21)判断支持不支持BLE Peripheral

2016-07-18 12:08 543 查看


isMultipleAdvertisementSupported

Added in API
level 21

boolean isMultipleAdvertisementSupported ()


Return true if the multi advertisement is supported by the chipset

Returns
boolean
true if Multiple Advertisement feature is supported
支持不支持BLE Peripheral,你也可以用BluetoothAdapter类的isMultipleAdvertisementSupported()函数去check,实际上getBluetoothLeAdvetiser()也会执行上面的isMultipleAdvertisementSupported函数,所以我就直接一步到位了,但是原理大家要懂。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: