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

Public Member Functions

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

Detailed Description

Definition at line 10 of file SurfaceProducerPlatformViewRenderTarget.java.

Constructor & Destructor Documentation

◆ SurfaceProducerPlatformViewRenderTarget()

io.flutter.plugin.platform.SurfaceProducerPlatformViewRenderTarget.SurfaceProducerPlatformViewRenderTarget ( SurfaceProducer  producer)
inline

Definition at line 14 of file SurfaceProducerPlatformViewRenderTarget.java.

14 {
15 this.producer = producer;
16 }

Member Function Documentation

◆ getHeight()

int io.flutter.plugin.platform.SurfaceProducerPlatformViewRenderTarget.getHeight ( )
inline

◆ getId()

long io.flutter.plugin.platform.SurfaceProducerPlatformViewRenderTarget.getId ( )
inline

◆ getSurface()

Surface io.flutter.plugin.platform.SurfaceProducerPlatformViewRenderTarget.getSurface ( )
inline

◆ getWidth()

int io.flutter.plugin.platform.SurfaceProducerPlatformViewRenderTarget.getWidth ( )
inline

◆ isReleased()

boolean io.flutter.plugin.platform.SurfaceProducerPlatformViewRenderTarget.isReleased ( )
inline

Implements io.flutter.plugin.platform.PlatformViewRenderTarget.

Definition at line 45 of file SurfaceProducerPlatformViewRenderTarget.java.

45 {
46 return this.producer == null;
47 }

◆ release()

void io.flutter.plugin.platform.SurfaceProducerPlatformViewRenderTarget.release ( )
inline

Implements io.flutter.plugin.platform.PlatformViewRenderTarget.

Definition at line 39 of file SurfaceProducerPlatformViewRenderTarget.java.

39 {
40 this.producer.release();
41 this.producer = null;
42 }

◆ resize()

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

Implements io.flutter.plugin.platform.PlatformViewRenderTarget.

Definition at line 19 of file SurfaceProducerPlatformViewRenderTarget.java.

19 {
20 this.producer.setSize(width, height);
21 }
int32_t height
int32_t width

◆ scheduleFrame()

void io.flutter.plugin.platform.SurfaceProducerPlatformViewRenderTarget.scheduleFrame ( )
inline

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