Flutter Engine
The Flutter Engine
|
Public Member Functions | |
SurfaceTexture | surfaceTexture () |
default void | setOnFrameConsumedListener (@Nullable OnFrameConsumedListener listener) |
default void | setOnTrimMemoryListener (@Nullable OnTrimMemoryListener listener) |
Public Member Functions inherited from io.flutter.view.TextureRegistry.TextureEntry | |
long | id () |
void | release () |
A registry entry for a managed SurfaceTexture.
Definition at line 97 of file TextureRegistry.java.
|
inline |
Set a listener that will be notified when the most recent image has been consumed.
Implemented in io.flutter.embedding.engine.renderer.FlutterRenderer.SurfaceTextureRegistryEntry.
Definition at line 103 of file TextureRegistry.java.
|
inline |
Set a listener that will be notified when a memory pressure warning was forward.
Implemented in io.flutter.embedding.engine.renderer.FlutterRenderer.SurfaceTextureRegistryEntry.
Definition at line 106 of file TextureRegistry.java.
SurfaceTexture io.flutter.view.TextureRegistry.SurfaceTextureEntry.surfaceTexture | ( | ) |
Implemented in io.flutter.embedding.engine.renderer.FlutterRenderer.SurfaceTextureRegistryEntry, and io.flutter.view.FlutterView.SurfaceTextureRegistryEntry.