Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
io.flutter.plugin.platform.PlatformViewRenderTarget Interface Reference
Inheritance diagram for io.flutter.plugin.platform.PlatformViewRenderTarget:
io.flutter.plugin.platform.ImageReaderPlatformViewRenderTarget io.flutter.plugin.platform.SurfaceProducerPlatformViewRenderTarget io.flutter.plugin.platform.SurfaceTexturePlatformViewRenderTarget

Public Member Functions

void resize (int width, int height)
 
int getWidth ()
 
int getHeight ()
 
long getId ()
 
void release ()
 
boolean isReleased ()
 
Surface getSurface ()
 
default void scheduleFrame ()
 

Detailed Description

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.

Definition at line 14 of file PlatformViewRenderTarget.java.

Member Function Documentation

◆ getHeight()

int io.flutter.plugin.platform.PlatformViewRenderTarget.getHeight ( )

◆ getId()

long io.flutter.plugin.platform.PlatformViewRenderTarget.getId ( )

◆ getSurface()

Surface io.flutter.plugin.platform.PlatformViewRenderTarget.getSurface ( )

◆ getWidth()

int io.flutter.plugin.platform.PlatformViewRenderTarget.getWidth ( )

◆ isReleased()

boolean io.flutter.plugin.platform.PlatformViewRenderTarget.isReleased ( )

◆ release()

void io.flutter.plugin.platform.PlatformViewRenderTarget.release ( )

◆ resize()

void io.flutter.plugin.platform.PlatformViewRenderTarget.resize ( int  width,
int  height 
)

◆ scheduleFrame()

default void io.flutter.plugin.platform.PlatformViewRenderTarget.scheduleFrame ( )
inline

The documentation for this interface was generated from the following file: