Support battery level reporting via Plantronics XEVENT (1/2)
* Add related constants to BluetoothHeadset
Bug: 35874078
Test: make, test with supporting headsets
Change-Id: Ied089a065bf9caa0d03f681950fefa2ea990bb3e
Merged-In: Ied089a065bf9caa0d03f681950fefa2ea990bb3e
(cherry picked from commit 0fcbba25b7)
This commit is contained in:
@@ -199,6 +199,18 @@ public final class BluetoothHeadset implements BluetoothProfile {
|
||||
*/
|
||||
public static final String VENDOR_RESULT_CODE_COMMAND_ANDROID = "+ANDROID";
|
||||
|
||||
/**
|
||||
* A vendor-specific AT command
|
||||
* @hide
|
||||
*/
|
||||
public static final String VENDOR_SPECIFIC_HEADSET_EVENT_XEVENT = "+XEVENT";
|
||||
|
||||
/**
|
||||
* Battery level indicator associated with {@link #VENDOR_SPECIFIC_HEADSET_EVENT_XEVENT}
|
||||
* @hide
|
||||
*/
|
||||
public static final String VENDOR_SPECIFIC_HEADSET_EVENT_XEVENT_BATTERY_LEVEL = "BATTERY";
|
||||
|
||||
/**
|
||||
* Headset state when SCO audio is not connected.
|
||||
* This state can be one of
|
||||
|
||||
Reference in New Issue
Block a user