Android.Media.Audiofx.Visualizer.GetWaveForm Method
Returns a waveform capture of currently playing audio content.

Syntax

[Android.Runtime.Register("getWaveForm", "([B)I", "GetGetWaveForm_arrayBHandler")]
[return:Android.Runtime.GeneratedEnum]
public virtual VisualizerStatus GetWaveForm (byte[] waveform)

Parameters

waveform
array of bytes where the waveform should be returned

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalStateException

Remarks

Returns a waveform capture of currently playing audio content. The capture consists in a number of consecutive 8-bit (unsigned) mono PCM samples equal to the capture size returned by Visualizer.CaptureSize.

This method must 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