Update javadoc comments for getBluetoothLeAdvertiser()
To clarify that BluetoothLeAdvertiser object will return null when BT is off OR if the hw doesn't support these capabilities bug: 18006072 Change-Id: I635d7971711a3cae7c58f7a0636faf9a03f19970
This commit is contained in:
@@ -454,8 +454,9 @@ public final class BluetoothAdapter {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a {@link BluetoothLeAdvertiser} object for Bluetooth LE Advertising operations, or
|
||||
* null if Bluetooth LE Advertising is not support on this device.
|
||||
* Returns a {@link BluetoothLeAdvertiser} object for Bluetooth LE Advertising operations.
|
||||
* Will return null if Bluetooth is turned off or if Bluetooth LE Advertising is not
|
||||
* supported on this device.
|
||||
* <p>
|
||||
* Use {@link #isMultipleAdvertisementSupported()} to check whether LE Advertising is supported
|
||||
* on this device before calling this method.
|
||||
|
||||
Reference in New Issue
Block a user