Flutter Engine
The Flutter Engine
List of all members
io.flutter.embedding.android.FlutterTextureView Class Reference
Inheritance diagram for io.flutter.embedding.android.FlutterTextureView:
io.flutter.embedding.engine.renderer.RenderSurface

Additional Inherited Members

- Public Member Functions inherited from io.flutter.embedding.engine.renderer.RenderSurface
FlutterRenderer getAttachedRenderer ()
 
void attachToRenderer (@NonNull FlutterRenderer renderer)
 
void detachFromRenderer ()
 
void pause ()
 
void resume ()
 

Detailed Description

Paints a Flutter UI on a SurfaceTexture.

To begin rendering a Flutter UI, the owner of this FlutterTextureView must invoke attachToRenderer(FlutterRenderer) with the desired FlutterRenderer.

To stop rendering a Flutter UI, the owner of this FlutterTextureView must invoke detachFromRenderer().

A FlutterTextureView is intended for situations where a developer needs to render a Flutter UI, but does not require any keyboard input, gesture input, accessibility integrations or any other interactivity beyond rendering. If standard interactivity is desired, consider using a FlutterView which provides all of these behaviors and utilizes a
FlutterTextureView
internally.

Definition at line 34 of file FlutterTextureView.java.


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