Package org.robolectric.shadows
Interface ShadowVisualizer.VisualizerSource
-
- Enclosing class:
- ShadowVisualizer
public static interface ShadowVisualizer.VisualizerSource
Provides underlying data for theShadowVisualizer
. 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
All Methods Instance Methods Default Methods Modifier and Type Method Description default int
getFft(byte[] fft)
default int
getPeakRms(Visualizer.MeasurementPeakRms measurement)
default int
getSamplingRate()
default int
getWaveForm(byte[] waveform)
default void
release()
-
-
-
Method Detail
-
getSamplingRate
default int getSamplingRate()
-
getWaveForm
default int getWaveForm(byte[] waveform)
-
getFft
default int getFft(byte[] fft)
-
getPeakRms
default int getPeakRms(Visualizer.MeasurementPeakRms measurement)
-
release
default void release()
-
-