Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
io.flutter.view.TextureRegistry.SurfaceTextureEntry Interface Reference
Inheritance diagram for io.flutter.view.TextureRegistry.SurfaceTextureEntry:
io.flutter.view.TextureRegistry.TextureEntry io.flutter.embedding.engine.renderer.FlutterRenderer.SurfaceTextureRegistryEntry io.flutter.view.FlutterView.SurfaceTextureRegistryEntry

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 ()
 

Detailed Description

A registry entry for a managed SurfaceTexture.

Definition at line 97 of file TextureRegistry.java.

Member Function Documentation

◆ setOnFrameConsumedListener()

default void io.flutter.view.TextureRegistry.SurfaceTextureEntry.setOnFrameConsumedListener ( @Nullable OnFrameConsumedListener  listener)
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.

103{}

◆ setOnTrimMemoryListener()

default void io.flutter.view.TextureRegistry.SurfaceTextureEntry.setOnTrimMemoryListener ( @Nullable OnTrimMemoryListener  listener)
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.

106{}

◆ surfaceTexture()

SurfaceTexture io.flutter.view.TextureRegistry.SurfaceTextureEntry.surfaceTexture ( )

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