AI-generated Key Takeaways
-
AudioUsage identifies the audio usage of an SASS device.
-
Deprecated constants like A2DP, HFP, and LE_AUDIO have replacement constants for media and call usage.
-
The current supported audio usage constants are CALL, MEDIA, and UNKNOWN.
-
The CALL usage supports Bluetooth Classic HEADSET and LE Audio profiles, while MEDIA usage supports Bluetooth Classic A2DP and LE Audio profiles.
Identify the audio usage of an SASS device.
Constant Summary
| int | A2DP | This constant is deprecated. Use MEDIA
instead.
|
| int | CALL | The usage of this audio event is call. |
| int | HFP | This constant is deprecated. Use CALL
instead.
|
| int | LE_AUDIO | This constant is deprecated. Use MEDIA
or CALL
instead.
|
| int | MEDIA | The usage of this audio event is media. |
| int | UNKNOWN |
Inherited Method Summary
Constants
public static final int A2DP
This constant is deprecated.
Use MEDIA
instead.
public static final int CALL
The usage of this audio event is call. It supports BluetoothProfile.HEADSET
profile for Bluetooth Classic, and BluetoothProfile.LE_AUDIO
profile for devices that support LE Audio.
public static final int HFP
This constant is deprecated.
Use CALL
instead.
public static final int LE_AUDIO
public static final int MEDIA
The usage of this audio event is media. It supports BluetoothProfile.A2DP
profile for Bluetooth Classic, and BluetoothProfile.LE_AUDIO
profile for devices that support LE Audio.

