diff options
| author | Treehugger Robot <treehugger-gerrit@google.com> | 2017-06-29 17:44:10 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-06-29 17:44:10 +0000 |
| commit | 874af710b7e180586a36bb55a620f234e9e3af80 (patch) | |
| tree | eb09be1841886c7bf4fbdb2b432509554b356fbf /core/java | |
| parent | c79c4240ec174d121fe1781c94adc41c209fac9c (diff) | |
| parent | 679d0bc8f99145d70af0c8006d807b55110fe3b5 (diff) | |
Merge "Support battery level reporting via Apple VSC (1/2)"
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/bluetooth/BluetoothHeadset.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/core/java/android/bluetooth/BluetoothHeadset.java b/core/java/android/bluetooth/BluetoothHeadset.java index 82e76bdc8233..336f330b1635 100644 --- a/core/java/android/bluetooth/BluetoothHeadset.java +++ b/core/java/android/bluetooth/BluetoothHeadset.java @@ -202,6 +202,25 @@ public final class BluetoothHeadset implements BluetoothProfile { * A vendor-specific AT command * @hide */ + public static final String VENDOR_SPECIFIC_HEADSET_EVENT_XAPL = "+XAPL"; + + /** + * A vendor-specific AT command + * @hide + */ + public static final String VENDOR_SPECIFIC_HEADSET_EVENT_IPHONEACCEV = "+IPHONEACCEV"; + + /** + * Battery level indicator associated with + * {@link #VENDOR_SPECIFIC_HEADSET_EVENT_IPHONEACCEV} + * @hide + */ + public static final int VENDOR_SPECIFIC_HEADSET_EVENT_IPHONEACCEV_BATTERY_LEVEL = 1; + + /** + * A vendor-specific AT command + * @hide + */ public static final String VENDOR_SPECIFIC_HEADSET_EVENT_XEVENT = "+XEVENT"; /** |
