Package io.flutter.plugin.platform
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() -
getId
long getId() -
release
void release() -
isReleased
boolean isReleased() -
getSurface
Surface getSurface() -
scheduleFrame
default void scheduleFrame()
-