Class ShadowVisualizer


  • @Implements(value=android.media.audiofx.Visualizer.class,
                minSdk=9)
    public class ShadowVisualizer
    extends java.lang.Object
    Shadow for the Visualizer class.
    • Constructor Detail

      • ShadowVisualizer

        public ShadowVisualizer()
    • Method Detail

      • setDataCaptureListener

        @Implementation(minSdk=9)
        protected int setDataCaptureListener​(android.media.audiofx.Visualizer.OnDataCaptureListener listener,
                                             int rate,
                                             boolean waveform,
                                             boolean fft)
      • native_getSamplingRate

        @Implementation(minSdk=9)
        protected int native_getSamplingRate()
      • native_getWaveForm

        @Implementation(minSdk=9)
        protected int native_getWaveForm​(byte[] waveform)
      • native_getFft

        @Implementation(minSdk=9)
        protected int native_getFft​(byte[] fft)
      • native_getEnabled

        @Implementation(minSdk=9)
        protected boolean native_getEnabled()
      • native_setCaptureSize

        @Implementation(minSdk=9)
        protected int native_setCaptureSize​(int size)
      • native_getCaptureSize

        @Implementation(minSdk=9)
        protected int native_getCaptureSize()
      • native_setEnabled

        @Implementation(minSdk=9)
        protected int native_setEnabled​(boolean enabled)
      • triggerDataCapture

        public void triggerDataCapture()
        Trigger calls to the existing Visualizer.OnDataCaptureListener.

        This is a no-op if the listener has not been set.