AudioUsage

public abstract @interface AudioUsage implements Annotation

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.

Constant Value: 2

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.

Constant Value: 1

public static final int HFP

This constant is deprecated.
Use CALL instead.

Constant Value: 1

public static final int LE_AUDIO

This constant is deprecated.
Use MEDIA or CALL instead.

Constant Value: 3

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.

Constant Value: 2

public static final int UNKNOWN

Constant Value: 0