Loading core/java/android/bluetooth/BluetoothHeadset.java +21 −0 Original line number Diff line number Diff line Loading @@ -128,6 +128,13 @@ public final class BluetoothHeadset implements BluetoothProfile { public static final String ACTION_VENDOR_SPECIFIC_HEADSET_EVENT = "android.bluetooth.headset.action.VENDOR_SPECIFIC_HEADSET_EVENT"; /** * @hide Broadcast intent when HF indicator value changed is updated by HS. */ @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION) public static final String ACTION_HF_INDICATOR_VALUE_CHANGED = "codeaurora.bluetooth.headset.action.ACTION_HF_INDICATOR_VALUE_CHANGED"; /** * A String extra field in {@link #ACTION_VENDOR_SPECIFIC_HEADSET_EVENT} * intents that contains the name of the vendor-specific command. Loading Loading @@ -198,6 +205,20 @@ public final class BluetoothHeadset implements BluetoothProfile { */ public static final String VENDOR_RESULT_CODE_COMMAND_ANDROID = "+ANDROID"; /** * @hide Used for sharing the HF indicator assigned number. */ public static final String HF_INDICATOR_ASSIGNED_NUMBER = "codeaurora.bluetooth.headset.intent.category.anum"; /** * @hide Used for sharing the HF indicator assigned number's value. */ public static final String HF_INDICATOR_ASSIGNED_NUMBER_VALUE = "codeaurora.bluetooth.headset.intent.category.anumvalue"; /** * Headset state when SCO audio is not connected. * This state can be one of Loading Loading
core/java/android/bluetooth/BluetoothHeadset.java +21 −0 Original line number Diff line number Diff line Loading @@ -128,6 +128,13 @@ public final class BluetoothHeadset implements BluetoothProfile { public static final String ACTION_VENDOR_SPECIFIC_HEADSET_EVENT = "android.bluetooth.headset.action.VENDOR_SPECIFIC_HEADSET_EVENT"; /** * @hide Broadcast intent when HF indicator value changed is updated by HS. */ @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION) public static final String ACTION_HF_INDICATOR_VALUE_CHANGED = "codeaurora.bluetooth.headset.action.ACTION_HF_INDICATOR_VALUE_CHANGED"; /** * A String extra field in {@link #ACTION_VENDOR_SPECIFIC_HEADSET_EVENT} * intents that contains the name of the vendor-specific command. Loading Loading @@ -198,6 +205,20 @@ public final class BluetoothHeadset implements BluetoothProfile { */ public static final String VENDOR_RESULT_CODE_COMMAND_ANDROID = "+ANDROID"; /** * @hide Used for sharing the HF indicator assigned number. */ public static final String HF_INDICATOR_ASSIGNED_NUMBER = "codeaurora.bluetooth.headset.intent.category.anum"; /** * @hide Used for sharing the HF indicator assigned number's value. */ public static final String HF_INDICATOR_ASSIGNED_NUMBER_VALUE = "codeaurora.bluetooth.headset.intent.category.anumvalue"; /** * Headset state when SCO audio is not connected. * This state can be one of Loading