Language

AudioDeviceType Enum

Definition

public enum AudioDeviceType
type AudioDeviceType = 
Inheritance
AudioDeviceType

Fields

Name Value Description
Unknown 0

A device type associated with an unknown or uninitialized device.

Android reference for android.media.AudioDeviceInfo.TYPE_UNKNOWN.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

BuiltinEarpiece 1

A device type describing the attached earphone speaker.

Android reference for android.media.AudioDeviceInfo.TYPE_BUILTIN_EARPIECE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

BuiltinSpeaker 2

A device type describing the speaker system (i.e. a mono speaker or stereo speakers) built in a device.

Android reference for android.media.AudioDeviceInfo.TYPE_BUILTIN_SPEAKER.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

WiredHeadset 3

A device type describing a headset, which is the combination of a headphones and microphone.

Android reference for android.media.AudioDeviceInfo.TYPE_WIRED_HEADSET.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

WiredHeadphones 4

A device type describing a pair of wired headphones.

Android reference for android.media.AudioDeviceInfo.TYPE_WIRED_HEADPHONES.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

LineAnalog 5

A device type describing an analog line-level connection.

Android reference for android.media.AudioDeviceInfo.TYPE_LINE_ANALOG.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

LineDigital 6

A device type describing a digital line connection (e.g. SPDIF).

Android reference for android.media.AudioDeviceInfo.TYPE_LINE_DIGITAL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

BluetoothSco 7

A device type describing a Bluetooth device typically used for telephony.

Android reference for android.media.AudioDeviceInfo.TYPE_BLUETOOTH_SCO.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

BluetoothA2dp 8

A device type describing a Bluetooth device supporting the A2DP profile.

Android reference for android.media.AudioDeviceInfo.TYPE_BLUETOOTH_A2DP.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Hdmi 9

A device type describing an HDMI connection.

Android reference for android.media.AudioDeviceInfo.TYPE_HDMI.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

HdmiArc 10

A device type describing the Audio Return Channel of an HDMI connection.

Android reference for android.media.AudioDeviceInfo.TYPE_HDMI_ARC.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

UsbDevice 11

A device type describing a USB audio device.

Android reference for android.media.AudioDeviceInfo.TYPE_USB_DEVICE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

UsbAccessory 12

A device type describing a USB audio device in accessory mode.

Android reference for android.media.AudioDeviceInfo.TYPE_USB_ACCESSORY.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Dock 13

A device type describing the audio device associated with a dock. Starting at API 34, this device type only represents digital docks, while docks with an analog connection are represented with TYPE_DOCK_ANALOG.

Android reference for android.media.AudioDeviceInfo.TYPE_DOCK.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Fm 14

A device type associated with the transmission of audio signals over FM.

Android reference for android.media.AudioDeviceInfo.TYPE_FM.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

BuiltinMic 15

A device type describing the microphone(s) built in a device.

Android reference for android.media.AudioDeviceInfo.TYPE_BUILTIN_MIC.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

FmTuner 16

A device type for accessing the audio content transmitted over FM.

Android reference for android.media.AudioDeviceInfo.TYPE_FM_TUNER.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

TvTuner 17

A device type for accessing the audio content transmitted over the TV tuner system.

Android reference for android.media.AudioDeviceInfo.TYPE_TV_TUNER.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Telephony 18

A device type describing the transmission of audio signals over the telephony network.

Android reference for android.media.AudioDeviceInfo.TYPE_TELEPHONY.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

AuxLine 19

A device type describing the auxiliary line-level connectors.

Android reference for android.media.AudioDeviceInfo.TYPE_AUX_LINE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Ip 20

A device type connected over IP.

Android reference for android.media.AudioDeviceInfo.TYPE_IP.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Bus 21

A type-agnostic device used for communication with external audio systems

Android reference for android.media.AudioDeviceInfo.TYPE_BUS.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

UsbHeadset 22

A device type describing a USB audio headset.

Android reference for android.media.AudioDeviceInfo.TYPE_USB_HEADSET.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

HearingAid 23

A device type describing a Hearing Aid.

Android reference for android.media.AudioDeviceInfo.TYPE_HEARING_AID.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

BuiltinSpeakerSafe 24

A device type describing the speaker system (i.e. a mono speaker or stereo speakers) built in a device, that is specifically tuned for outputting sounds like notifications and alarms (i.e. sounds the user couldn't necessarily anticipate). Note that this physical audio device may be the same as TYPE_BUILTIN_SPEAKER but is driven differently to safely accommodate the different use case.

Android reference for android.media.AudioDeviceInfo.TYPE_BUILTIN_SPEAKER_SAFE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

RemoteSubmix 25

A device type for rerouting audio within the Android framework between mixes and system applications. This type is for instance encountered when querying the output device of a track (with AudioTrack.getRoutedDevice() playing from a device in screen mirroring mode, where the audio is not heard on the device, but on the remote device.

Android reference for android.media.AudioDeviceInfo.TYPE_REMOTE_SUBMIX.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

BleHeadset 26

A device type describing a Bluetooth Low Energy (BLE) audio headset or headphones. Headphones are grouped with headsets when the device is a sink: the features of headsets and headphones with regard to playback are the same.

Android reference for android.media.AudioDeviceInfo.TYPE_BLE_HEADSET.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

BleSpeaker 27

A device type describing a Bluetooth Low Energy (BLE) audio speaker.

Android reference for android.media.AudioDeviceInfo.TYPE_BLE_SPEAKER.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

HdmiEarc 29

A device type describing the Enhanced Audio Return Channel of an HDMI connection.

Android reference for android.media.AudioDeviceInfo.TYPE_HDMI_EARC.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

BleBroadcast 30

A device type describing a Bluetooth Low Energy (BLE) broadcast group.

Android reference for android.media.AudioDeviceInfo.TYPE_BLE_BROADCAST.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

DockAnalog 31

A device type describing the audio device associated with a dock using an analog connection.

Android reference for android.media.AudioDeviceInfo.TYPE_DOCK_ANALOG.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

MultichannelGroup 32

A device type describing a speaker group that supports multichannel contents. The speakers in the group are connected together using local network based protocols. The speaker group requires additional input of the physical positions of each individual speaker to provide a better experience on multichannel contents.

Android reference for android.media.AudioDeviceInfo.TYPE_MULTICHANNEL_GROUP.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

TypeBleHearingAid 33

A device type describing a Bluetooth Low Energy (BLE) hearing aid.

Android reference for android.media.AudioDeviceInfo.TYPE_BLE_HEARING_AID.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

TypeBleCentral 34

A device corresponding to the receive or transmit path in an Android implementation operating in a Bluetooth audio peripheral mode (LE Audio, A2DP or HFP profiles).

Android reference for android.media.AudioDeviceInfo.TYPE_BLE_CENTRAL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

TypeBleCentralBroadcast 35

A device corresponding to the receive path in an Android implementation operating in a Bluetooth LE audio peripheral mode part of a broadcast group.

Android reference for android.media.AudioDeviceInfo.TYPE_BLE_CENTRAL_BROADCAST.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to