다음을 통해 공유


MediaRecorder.SetPreferredMicrophoneDirection(MicDirection) Method

Definition

Specifies the logical microphone (for processing).

[Android.Runtime.Register("setPreferredMicrophoneDirection", "(I)Z", "GetSetPreferredMicrophoneDirection_IHandler", ApiSince=29)]
public virtual bool SetPreferredMicrophoneDirection (Android.Media.MicDirection direction);
[<Android.Runtime.Register("setPreferredMicrophoneDirection", "(I)Z", "GetSetPreferredMicrophoneDirection_IHandler", ApiSince=29)>]
abstract member SetPreferredMicrophoneDirection : Android.Media.MicDirection -> bool
override this.SetPreferredMicrophoneDirection : Android.Media.MicDirection -> bool

Parameters

direction
MicDirection

Direction constant.

Returns

true if sucessful.

Implements

Attributes

Remarks

Specifies the logical microphone (for processing).

Java documentation for android.media.MediaRecorder.setPreferredMicrophoneDirection(int).

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