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:
Prerepa Viswanadham
2014-10-15 16:36:01 -07:00
parent b7d8514822
commit 248edc3e96

View File

@@ -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.