java.lang.Object | |
↳ | android.media.AudioDeviceInfo |
Class to provide information about the audio devices.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | TYPE_AUX_LINE | A device type describing the auxiliary line-level connectors. | |||||||||
int | TYPE_BLUETOOTH_A2DP | A device type describing a Bluetooth device supporting the A2DP profile. | |||||||||
int | TYPE_BLUETOOTH_SCO | A device type describing a Bluetooth device typically used for telephony. | |||||||||
int | TYPE_BUILTIN_EARPIECE | A device type describing the attached earphone speaker. | |||||||||
int | TYPE_BUILTIN_MIC | A device type describing the microphone(s) built in a device. | |||||||||
int | TYPE_BUILTIN_SPEAKER | A device type describing the speaker system (i.e. | |||||||||
int | TYPE_DOCK | A device type describing the audio device associated with a dock. | |||||||||
int | TYPE_FM | A device type associated with the transmission of audio signals over FM. | |||||||||
int | TYPE_FM_TUNER | A device type for accessing the audio content transmitted over FM. | |||||||||
int | TYPE_HDMI | A device type describing an HDMI connection . | |||||||||
int | TYPE_HDMI_ARC | A device type describing the Audio Return Channel of an HDMI connection. | |||||||||
int | TYPE_IP | A device type connected over IP. | |||||||||
int | TYPE_LINE_ANALOG | A device type describing an analog line-level connection. | |||||||||
int | TYPE_LINE_DIGITAL | A device type describing a digital line connection (e.g. | |||||||||
int | TYPE_TELEPHONY | A device type describing the transmission of audio signals over the telephony network. | |||||||||
int | TYPE_TV_TUNER | A device type for accessing the audio content transmitted over the TV tuner system. | |||||||||
int | TYPE_UNKNOWN | A device type associated with an unknown or uninitialized device. | |||||||||
int | TYPE_USB_ACCESSORY | A device type describing a USB audio device in accessory mode. | |||||||||
int | TYPE_USB_DEVICE | A device type describing a USB audio device. | |||||||||
int | TYPE_WIRED_HEADPHONES | A device type describing a pair of wired headphones. | |||||||||
int | TYPE_WIRED_HEADSET | A device type describing a headset, which is the combination of a headphones and microphone. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
A device type describing the auxiliary line-level connectors.
A device type describing a Bluetooth device supporting the A2DP profile.
A device type describing a Bluetooth device typically used for telephony.
A device type describing the attached earphone speaker.
A device type describing the microphone(s) built in a device.
A device type describing the speaker system (i.e. a mono speaker or stereo speakers) built in a device.
A device type describing the audio device associated with a dock.
A device type associated with the transmission of audio signals over FM.
A device type for accessing the audio content transmitted over FM.
A device type describing an HDMI connection .
A device type describing the Audio Return Channel of an HDMI connection.
A device type connected over IP.
A device type describing an analog line-level connection.
A device type describing a digital line connection (e.g. SPDIF).
A device type describing the transmission of audio signals over the telephony network.
A device type for accessing the audio content transmitted over the TV tuner system.
A device type associated with an unknown or uninitialized device.
A device type describing a USB audio device in accessory mode.
A device type describing a USB audio device.
A device type describing a pair of wired headphones.
A device type describing a headset, which is the combination of a headphones and microphone.
CHANNEL_IN_STEREO
,
CHANNEL_OUT_7POINT1
) for which this audio device can be configured.ENCODING_PCM_16BIT
,
ENCODING_PCM_FLOAT
) supported by the audio device.
ENCODING_PCM_FLOAT
indicates the device supports more
than 16 bits of integer precision. Specifying ENCODING_PCM_FLOAT
with AudioTrack
or AudioRecord
can preserve at least 24 bits of
integer precision to that device.