Android.Media.Audiofx.Visualizer.SetCaptureSize Method
Sets the capture size, i.e. the number of bytes returned by Visualizer.GetWaveForm(Byte[]) and Visualizer.GetFft(Byte[]) methods.

Syntax

[Android.Runtime.Register("setCaptureSize", "(I)I", "GetSetCaptureSize_IHandler")]
public virtual int SetCaptureSize (int size)

Parameters

size
requested capture size

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalStateException

Remarks

Sets the capture size, i.e. the number of bytes returned by Visualizer.GetWaveForm(Byte[]) and Visualizer.GetFft(Byte[]) methods. The capture size must be a power of 2 in the range returned by Visualizer.GetCaptureSizeRange. This method must not be called when the Visualizer is enabled.

[Android Documentation]

Requirements

Namespace: Android.Media.Audiofx
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9