Visualizer.IOnDataCaptureListener.OnWaveFormDataCapture(Visualizer, Byte[], Int32) Method

Definition

Method called when a new waveform capture is available.

[Android.Runtime.Register("onWaveFormDataCapture", "(Landroid/media/audiofx/Visualizer;[BI)V", "GetOnWaveFormDataCapture_Landroid_media_audiofx_Visualizer_arrayBIHandler:Android.Media.Audiofx.Visualizer/IOnDataCaptureListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnWaveFormDataCapture (Android.Media.Audiofx.Visualizer? visualizer, byte[]? waveform, int samplingRate);
[<Android.Runtime.Register("onWaveFormDataCapture", "(Landroid/media/audiofx/Visualizer;[BI)V", "GetOnWaveFormDataCapture_Landroid_media_audiofx_Visualizer_arrayBIHandler:Android.Media.Audiofx.Visualizer/IOnDataCaptureListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnWaveFormDataCapture : Android.Media.Audiofx.Visualizer * byte[] * int -> unit

Parameters

visualizer
Visualizer

Visualizer object on which the listener is registered.

waveform
Byte[]

array of bytes containing the waveform representation.

samplingRate
Int32

sampling rate of the audio visualized.

Attributes

Remarks

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