Class CustomImageSource

    • Constructor Detail

      • CustomImageSource

        protected CustomImageSource​(android.content.Context context,
                                    android.view.Surface inputSurface,
                                    android.graphics.SurfaceTexture inputSurfaceTexture,
                                    android.os.Handler handler,
                                    java.lang.String tag,
                                    long handle)
    • Method Detail

      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable
      • release

        public void release()
        Releases the custom image source instance. This method must be called when the CustomImageSource is no longer being used. The custom image source cannot be used after this method is called.
        Specified by:
        release in interface Releasable