Package io.flutter.view
Interface TextureRegistry.SurfaceTextureEntry
- All Superinterfaces:
TextureRegistry.TextureEntry
- Enclosing interface:
- TextureRegistry
A registry entry for a managed SurfaceTexture.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
Set a listener that will be notified when the most recent image has been consumed.default void
Set a listener that will be notified when a memory pressure warning was forward.Methods inherited from interface io.flutter.view.TextureRegistry.TextureEntry
id, release
-
Method Details
-
surfaceTexture
- Returns:
- The managed SurfaceTexture.
-
setOnFrameConsumedListener
Set a listener that will be notified when the most recent image has been consumed. -
setOnTrimMemoryListener
Set a listener that will be notified when a memory pressure warning was forward.
-