Merge "Fix spelling errors in BluetoothGatt documentation"

This commit is contained in:
android-build-prod (mdb)
2018-05-03 20:47:01 +00:00
committed by Gerrit Code Review

View File

@@ -98,22 +98,22 @@ public final class BluetoothGatt implements BluetoothProfile {
public static final int GATT_FAILURE = 0x101;
/**
* Connection paramter update - Use the connection paramters recommended by the
* Connection parameter update - Use the connection parameters recommended by the
* Bluetooth SIG. This is the default value if no connection parameter update
* is requested.
*/
public static final int CONNECTION_PRIORITY_BALANCED = 0;
/**
* Connection paramter update - Request a high priority, low latency connection.
* An application should only request high priority connection paramters to transfer
* large amounts of data over LE quickly. Once the transfer is complete, the application
* should request {@link BluetoothGatt#CONNECTION_PRIORITY_BALANCED} connectoin parameters
* to reduce energy use.
* Connection parameter update - Request a high priority, low latency connection.
* An application should only request high priority connection parameters to transfer large
* amounts of data over LE quickly. Once the transfer is complete, the application should
* request {@link BluetoothGatt#CONNECTION_PRIORITY_BALANCED} connection parameters to reduce
* energy use.
*/
public static final int CONNECTION_PRIORITY_HIGH = 1;
/** Connection paramter update - Request low power, reduced data rate connection parameters. */
/** Connection parameter update - Request low power, reduced data rate connection parameters. */
public static final int CONNECTION_PRIORITY_LOW_POWER = 2;
/**