Language

MicDirection Enum

Definition

Selects the device-relative direction to optimize for microphone capture.

public enum MicDirection
type MicDirection = 
Inheritance
MicDirection

Fields

Name Value Description
Unspecified 0

Don't do any directionality processing of the activated microphone(s).

Android reference for android.media.MicrophoneDirection.MIC_DIRECTION_UNSPECIFIED.

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.

TowardsUser 1

Optimize capture for audio coming from the side of the device facing the user. In the typical case, a device with a single screen, screen-side camera/microphone and non-screen-side camera/microphone, this will be the screen side (as in a "selfie"). For a different device geometry, it is the side for which the expectation is to be facing the user.

Android reference for android.media.MicrophoneDirection.MIC_DIRECTION_TOWARDS_USER.

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.

AwayFromUser 2

Optimize capture for audio coming from the side of the device pointing away from the user. In the typical case, a device with a single screen, screen-side camera/microphone and non-screen-side camera/microphone, this will be the non-screen side. For a different device geometry, it is the side for which the expectation is to be facing away from the user. This is the "taking a video of something else" case.

Android reference for android.media.MicrophoneDirection.MIC_DIRECTION_AWAY_FROM_USER.

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.

External 3

Optimize capture for audio coming from an off-device microphone.

Android reference for android.media.MicrophoneDirection.MIC_DIRECTION_EXTERNAL.

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

Toward-user and away-from-user directions depend on the device's geometry rather than a fixed microphone index. External selects capture from an off-device microphone; unspecified requests no directionality processing.

Applies to