Package org.robolectric.shadows
Interface ShadowVisualizer.VisualizerSource
- Enclosing class:
- ShadowVisualizer
public static interface ShadowVisualizer.VisualizerSource
Provides underlying data for the
ShadowVisualizer
. The default implementations are
there only to help tests to run when they don't need to verify specific behaviour, otherwise
tests should probably override these and provide some specific implementation that allows them
to verify the functionality needed.-
Method Summary
Modifier and TypeMethodDescriptiondefault int
getFft
(byte[] fft) default int
getPeakRms
(Visualizer.MeasurementPeakRms measurement) default int
default int
getWaveForm
(byte[] waveform) default void
release()
-
Method Details
-
getSamplingRate
default int getSamplingRate() -
getWaveForm
default int getWaveForm(byte[] waveform) -
getFft
default int getFft(byte[] fft) -
getPeakRms
-
release
default void release()
-