Freigeben über


MicrophoneInfo.Location Property

Definition

Returns the location of the microphone.

public Android.Media.MicrophoneLocation Location { [Android.Runtime.Register("getLocation", "()I", "", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getLocation", "()I", "", ApiSince=28)>]
member this.Location : Android.Media.MicrophoneLocation

Property Value

the location of the microphone

Attributes

Remarks

Returns the location of the microphone. The return value is one of #LOCATION_UNKNOWN, #LOCATION_MAINBODY, #LOCATION_MAINBODY_MOVABLE, or #LOCATION_PERIPHERAL.

Java documentation for android.media.MicrophoneInfo.getLocation().

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