다음을 통해 공유


AudioRecord.InterfaceConsts.MicDirectionAwayFromUser 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 pointing away from the user.

[Android.Runtime.Register("MIC_DIRECTION_AWAY_FROM_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 MicDirectionAwayFromUser = 2;
[<Android.Runtime.Register("MIC_DIRECTION_AWAY_FROM_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 MicDirectionAwayFromUser : Android.Media.MicDirection

Field Value

Value = 2
Attributes

Remarks

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.

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

Applies to