Package io.flutter.view
Interface TextureRegistry.SurfaceTextureEntry
- All Superinterfaces:
TextureRegistry.TextureEntry
- Enclosing interface:
- TextureRegistry
A registry entry for a managed SurfaceTexture.
-
Method Summary
-
Method Details
-
id
long id()- Specified by:
id
in interfaceTextureRegistry.TextureEntry
- Returns:
- The identity of this texture.
-
release
void release()Deregisters and releases all resources .- Specified by:
release
in interfaceTextureRegistry.TextureEntry
-
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.
-