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函数,所以我就直接一步到位了,但是原理大家要懂。