/**@class android.media.AudioDeviceInfo
@extends java.lang.Object

 Class to provide information about the audio devices.
*/
var AudioDeviceInfo = {

/** A device type associated with an unknown or uninitialized device.
*/
TYPE_UNKNOWN : "0",
/** A device type describing the attached earphone speaker.
*/
TYPE_BUILTIN_EARPIECE : "1",
/** A device type describing the speaker system (i.e. a mono speaker or stereo speakers) built
 in a device.
*/
TYPE_BUILTIN_SPEAKER : "2",
/** A device type describing a headset, which is the combination of a headphones and microphone.
*/
TYPE_WIRED_HEADSET : "3",
/** A device type describing a pair of wired headphones.
*/
TYPE_WIRED_HEADPHONES : "4",
/** A device type describing an analog line-level connection.
*/
TYPE_LINE_ANALOG : "5",
/** A device type describing a digital line connection (e.g. SPDIF).
*/
TYPE_LINE_DIGITAL : "6",
/** A device type describing a Bluetooth device typically used for telephony.
*/
TYPE_BLUETOOTH_SCO : "7",
/** A device type describing a Bluetooth device supporting the A2DP profile.
*/
TYPE_BLUETOOTH_A2DP : "8",
/** A device type describing an HDMI connection .
*/
TYPE_HDMI : "9",
/** A device type describing the Audio Return Channel of an HDMI connection.
*/
TYPE_HDMI_ARC : "10",
/** A device type describing a USB audio device.
*/
TYPE_USB_DEVICE : "11",
/** A device type describing a USB audio device in accessory mode.
*/
TYPE_USB_ACCESSORY : "12",
/** A device type describing the audio device associated with a dock.
*/
TYPE_DOCK : "13",
/** A device type associated with the transmission of audio signals over FM.
*/
TYPE_FM : "14",
/** A device type describing the microphone(s) built in a device.
*/
TYPE_BUILTIN_MIC : "15",
/** A device type for accessing the audio content transmitted over FM.
*/
TYPE_FM_TUNER : "16",
/** A device type for accessing the audio content transmitted over the TV tuner system.
*/
TYPE_TV_TUNER : "17",
/** A device type describing the transmission of audio signals over the telephony network.
*/
TYPE_TELEPHONY : "18",
/** A device type describing the auxiliary line-level connectors.
*/
TYPE_AUX_LINE : "19",
/** A device type connected over IP.
*/
TYPE_IP : "20",
/** A type-agnostic device used for communication with external audio systems
*/
TYPE_BUS : "21",
/** A device type describing a USB audio headset.
*/
TYPE_USB_HEADSET : "22",
/** A device type describing a Hearing Aid.
*/
TYPE_HEARING_AID : "23",
/**
*/
equals : function(  ) {},

/**
*/
hashCode : function(  ) {},

/**
@hide 
@return {Object {android.media.AudioDevicePort}} The underlying {@link AudioDevicePort} instance.
*/
getPort : function(  ) {},

/**
@return {Number} The internal device ID.
*/
getId : function(  ) {},

/**
@return {Object {java.lang.CharSequence}} The human-readable name of the audio device.
*/
getProductName : function(  ) {},

/**
@return {String} The "address" string of the device. This generally contains device-specific
 parameters.
*/
getAddress : function(  ) {},

/**
@return {Boolean} true if the audio device is a source for audio data (e.e an input).
*/
isSource : function(  ) {},

/**
@return {Boolean} true if the audio device is a sink for audio data (i.e. an output).
*/
isSink : function(  ) {},

/**
@return {Number} An array of sample rates supported by the audio device.

 Note: an empty array indicates that the device supports arbitrary rates.
*/
getSampleRates : function(  ) {},

/**
@return {Number} An array of channel position masks (e.g. {@link AudioFormat#CHANNEL_IN_STEREO},
 {@link AudioFormat#CHANNEL_OUT_7POINT1}) for which this audio device can be configured.
@see AudioFormat

 Note: an empty array indicates that the device supports arbitrary channel masks.
*/
getChannelMasks : function(  ) {},

/**
@return {Number} An array of channel index masks for which this audio device can be configured.
@see AudioFormat

 Note: an empty array indicates that the device supports arbitrary channel index masks.
*/
getChannelIndexMasks : function(  ) {},

/**
@return {Number} An array of channel counts (1, 2, 4, ...) for which this audio device
 can be configured.

 Note: an empty array indicates that the device supports arbitrary channel counts.
*/
getChannelCounts : function(  ) {},

/**
@return {Number} An array of audio encodings (e.g. {@link AudioFormat#ENCODING_PCM_16BIT},
 {@link AudioFormat#ENCODING_PCM_FLOAT}) supported by the audio device.
 <code>ENCODING_PCM_FLOAT</code> indicates the device supports more
 than 16 bits of integer precision.  As there is no AudioFormat constant
 specifically defined for 24-bit PCM, the value <code>ENCODING_PCM_FLOAT</code>
 indicates that {@link AudioTrack} or {@link AudioRecord} can preserve at least 24 bits of
 integer precision to that device.
@see AudioFormat

 Note: an empty array indicates that the device supports arbitrary encodings.
*/
getEncodings : function(  ) {},

/**
@return {Number} The device type identifier of the audio device (i.e. TYPE_BUILTIN_SPEAKER).
*/
getType : function(  ) {},

/**
@hide 
*/
convertDeviceTypeToInternalDevice : function(  ) {},

/**
@hide 
*/
convertInternalDeviceToDeviceType : function(  ) {},


};