Interface PlatformViewRenderTarget

All Known Implementing Classes:
ImageReaderPlatformViewRenderTarget, SurfaceProducerPlatformViewRenderTarget, SurfaceTexturePlatformViewRenderTarget

public interface PlatformViewRenderTarget
A PlatformViewRenderTarget interface allows an Android Platform View to be rendered into an offscreen buffer (usually a texture is involved) that the engine can compose into the FlutterView.
  • Method Details

    • resize

      void resize(int width, int height)
    • getWidth

      int getWidth()
    • getHeight

      int getHeight()
    • lockHardwareCanvas

      Canvas lockHardwareCanvas()
    • unlockCanvasAndPost

      void unlockCanvasAndPost(Canvas canvas)
    • getId

      long getId()
    • release

      void release()
    • isReleased

      boolean isReleased()
    • getSurface

      Surface getSurface()