Compatibility Definition
2f44OdUf0
2f44OdUf0
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Device implementations MAY omit a microphone. However, if a device implementation omits a<br />
microphone, it MUST NOT report the android.hardware.microphone feature constant, and MUST<br />
implement the audio recording API at least as no-ops, per section 7. Conversely, device<br />
implementations that do possess a microphone:<br />
MUST report the android.hardware.microphone feature constant<br />
MUST meet the audio recording requirements in section 5.4<br />
MUST meet the audio latency requirements in section 5.6<br />
STRONGLY RECOMMENDED to support near-ultrasound recording as described in<br />
section 7.8.3<br />
7.8.2. Audio Output<br />
Android Watch devices MAY include an audio output.<br />
Device implementations including a speaker or with an audio/multimedia output port for an audio<br />
output peripheral as a headset or an external speaker:<br />
MUST report the android.hardware.audio.output feature constant.<br />
MUST meet the audio playback requirements in section 5.5.<br />
MUST meet the audio latency requirements in section 5.6.<br />
STRONGLY RECOMMENDED to support near-ultrasound playback as described in<br />
section 7.8.3<br />
Conversely, if a device implementation does not include a speaker or audio output port, it MUST NOT<br />
report the android.hardware.audio output feature, and MUST implement the Audio Output related APIs<br />
as no-ops at least.<br />
Android Watch device implementation MAY but SHOULD NOT have audio output, but other types of<br />
Android device implementations MUST have an audio output and declare<br />
android.hardware.audio.output.<br />
7.8.2.1. Analog Audio Ports<br />
In order to be compatible with the headsets and other audio accessories using the 3.5mm audio plug<br />
across the Android ecosystem [Resources, 122], if a device implementation includes one or more<br />
analog audio ports, at least one of the audio port(s) SHOULD be a 4 conductor 3.5mm audio jack. If a<br />
device implementation has a 4 conductor 3.5mm audio jack, it:<br />
MUST support audio playback to stereo headphones and stereo headsets with a<br />
microphone, and SHOULD support audio recording from stereo headsets with a<br />
microphone.<br />
MUST support TRRS audio plugs with the CTIA pin-out order, and SHOULD support audio<br />
plugs with the OMTP pin-out order.<br />
MUST support the detection of microphone on the plugged in audio accessory, if the<br />
device implementation supports a microphone, and broadcast the<br />
android.intent.action.HEADSET_PLUG with the extra value microphone set as 1.<br />
SHOULD support the detection and mapping to the keycodes for the following 3 ranges of<br />
equivalent impedance between the microphone and ground conductors on the audio plug:<br />
70 ohm or less: KEYCODE_HEADSETHOOK<br />
210-290 Ohm: KEYCODE_VOLUME_UP<br />
360-680 Ohm: KEYCODE_VOLUME_DOWN<br />
SHOULD support the detection and mapping to the keycode for the following range of<br />
equivalent impedance between the microphone and ground conductors on the audio plug:<br />
Page 59 of 74