Package io.flutter.plugin.platform

## Interface PlatformViewRenderTarget

- All Known Implementing Classes:
    `ImageReaderPlatformViewRenderTarget`, `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 Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `getHeight()` |
    `long` | `getId()` |
    `Surface` | `getSurface()` |
    `int` | `getWidth()` |
    `boolean` | `isReleased()` |
    `Canvas` | `lockHardwareCanvas()` |
    `void` | `release()` |
    `void` | `resize​(int width, int height)` |
    `void` | `unlockCanvasAndPost​(Canvas canvas)` |

- - ### Method Detail

    - #### 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()