Language

MicrophoneLocation Enum

Definition

Classifies where a microphone is installed relative to the device body.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum MicrophoneLocation
[<System.Flags>]
type MicrophoneLocation = 
Inheritance
MicrophoneLocation
Attributes

Fields

Name Value Description
Unknown 0

A microphone that the location is unknown.

Android reference for android.media.MicrophoneInfo.LOCATION_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.

Mainbody 1

A microphone that locate on main body of the device.

Android reference for android.media.MicrophoneInfo.LOCATION_MAINBODY.

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.

MainbodyMovable 2

A microphone that locate on a movable main body of the device.

Android reference for android.media.MicrophoneInfo.LOCATION_MAINBODY_MOVABLE.

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.

Peripheral 3

A microphone that locate on a peripheral.

Android reference for android.media.MicrophoneInfo.LOCATION_PERIPHERAL.

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

The reported location can be the main body, a movable part of the main body, an attached peripheral or unknown. It is not a three-dimensional position coordinate.

Applies to