The members of Android.Media.Audiofx.Visualizer are listed below.
See Also: Inherited members from Java.Lang.Object
Class constructor. |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
const | AlreadyExists | VisualizerStatus (-2). Internal operation status. |
const | Error | VisualizerStatus (-1). Unspecified error. |
const | ErrorBadValue | VisualizerStatus (-4). Operation failed due to bad parameter value. |
const | ErrorDeadObject | VisualizerStatus (-7). Operation failed due to dead remote object. |
const | ErrorInvalidOperation | VisualizerStatus (-5). Operation failed because it was requested in wrong state. |
const | ErrorNoInit | VisualizerStatus (-3). Operation failed due to bad object initialization. |
const | ErrorNoMemory | VisualizerStatus (-6). Operation failed due to lack of memory. |
const | MeasurementModeNone | VisualizerMeasurementMode (0). Defines a measurement mode in which no measurements are performed. |
const | MeasurementModePeakRms | VisualizerMeasurementMode (1). Defines a measurement mode which computes the peak and RMS value in mB, where 0mB is the maximum sample value, and -9600mB is the minimum value. |
const | ScalingModeAsPlayed | VisualizerScalingMode (1). Defines a capture mode where the playback volume will affect (scale) the range of the captured data. |
const | ScalingModeNormalized | VisualizerScalingMode (0). Defines a capture mode where amplification is applied based on the content of the captured data. |
const | StateEnabled | VisualizerState (2). State of a Visualizer object that is active. |
const | StateInitialized | VisualizerState (1). State of a Visualizer object that is ready to be used. |
const | StateUninitialized | VisualizerState (0). State of a Visualizer object that was not successfully initialized upon creation |
const | Success | VisualizerStatus (0). Successful operation. |
[read-only] | CaptureSize | int. Returns current capture size. |
[read-only] | Enabled | bool. Get current activation state of the visualizer. |
[read-only] static | MaxCaptureRate | int. Returns the maximum capture rate for the callback capture method. |
[read-only] | MeasurementMode | VisualizerMeasurementMode. Returns the current measurement modes performed by this audio effect |
[read-only] | SamplingRate | int. Returns the sampling rate of the captured audio. |
[read-only] | ScalingMode | VisualizerScalingMode. Returns the current scaling mode on the captured visualization data. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
static | GetCaptureSizeRange()Returns the capture size range. | |
GetFft(byte[])Returns a frequency capture of currently playing audio content. | ||
GetMeasurementPeakRms(Visualizer.MeasurementPeakRms)Retrieves the latest peak and RMS measurement. | ||
GetWaveForm(byte[])Returns a waveform capture of currently playing audio content. | ||
Release()Releases the native Visualizer resources. | ||
SetCaptureSize(int)Sets the capture size, i.e. the number of bytes returned by Visualizer.GetWaveForm(Byte[]) and Visualizer.GetFft(Byte[]) methods. | ||
SetDataCaptureListener(Visualizer.IOnDataCaptureListener, int, bool, bool)Registers an OnDataCaptureListener interface and specifies the rate at which the capture should be updated as well as the type of capture requested. | ||
SetEnabled(bool)Enable or disable the visualization engine. | ||
SetMeasurementMode(VisualizerMeasurementMode)Sets the combination of measurement modes to be performed by this audio effect. | ||
SetScalingMode(VisualizerScalingMode)Set the type of scaling applied on the captured visualization data. |