AudioRecord.SetPreferredMicrophoneFieldDimension(Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the zoom factor (i.
[Android.Runtime.Register("setPreferredMicrophoneFieldDimension", "(F)Z", "GetSetPreferredMicrophoneFieldDimension_FHandler", ApiSince=29)]
public virtual bool SetPreferredMicrophoneFieldDimension (float zoom);
[<Android.Runtime.Register("setPreferredMicrophoneFieldDimension", "(F)Z", "GetSetPreferredMicrophoneFieldDimension_FHandler", ApiSince=29)>]
abstract member SetPreferredMicrophoneFieldDimension : single -> bool
override this.SetPreferredMicrophoneFieldDimension : single -> bool
Parameters
- zoom
- Single
the desired field dimension of microphone capture. Range is from -1 (wide angle), though 0 (no zoom) to 1 (maximum zoom).
Returns
true if sucessful.
Implements
- Attributes
Remarks
Specifies the zoom factor (i.e. the field dimension) for the selected microphone (for processing). The selected microphone is determined by the use-case for the stream.
Java documentation for android.media.AudioRecord.setPreferredMicrophoneFieldDimension(float)
.
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.