Android.Media.Audiofx.Visualizer.SetDataCaptureListener Method
Registers an OnDataCaptureListener interface and specifies the rate at which the capture should be updated as well as the type of capture requested.

Syntax

[Android.Runtime.Register("setDataCaptureListener", "(Landroid/media/audiofx/Visualizer$OnDataCaptureListener;IZZ)I", "GetSetDataCaptureListener_Landroid_media_audiofx_Visualizer_OnDataCaptureListener_IZZHandler")]
[return:Android.Runtime.GeneratedEnum]
public virtual VisualizerStatus SetDataCaptureListener (Visualizer.IOnDataCaptureListener listener, int rate, bool waveform, bool fft)

Parameters

listener
OnDataCaptureListener registered
rate
rate in milliHertz at which the capture should be updated
waveform
true if a waveform capture is requested: the onWaveFormDataCapture() method will be called on the OnDataCaptureListener interface.
fft
true if a frequency capture is requested: the onFftDataCapture() method will be called on the OnDataCaptureListener interface.

Returns

Documentation for this section has not yet been entered.

Remarks

Registers an OnDataCaptureListener interface and specifies the rate at which the capture should be updated as well as the type of capture requested.

Call this method with a null listener to stop receiving the capture updates.

[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