Partager via


AudioRecord.InterfaceConsts.MicDirectionTowardsUser Field

Definition

Caution

This constant will be removed in the future version. Use Android.Media.MicDirection enum directly instead of this field.

Optimize capture for audio coming from the side of the device facing the user.

[Android.Runtime.Register("MIC_DIRECTION_TOWARDS_USER", ApiSince=29)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.MicDirection enum directly instead of this field.", true)]
public const Android.Media.MicDirection MicDirectionTowardsUser = 1;
[<Android.Runtime.Register("MIC_DIRECTION_TOWARDS_USER", ApiSince=29)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.MicDirection enum directly instead of this field.", true)>]
val mutable MicDirectionTowardsUser : Android.Media.MicDirection

Field Value

Value = 1
Attributes

Remarks

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.

Java documentation 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.

Applies to