Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
io.flutter.view.TextureRegistry.ImageConsumer Interface Reference
Inheritance diagram for io.flutter.view.TextureRegistry.ImageConsumer:
io.flutter.embedding.engine.renderer.FlutterRenderer.ImageReaderSurfaceProducer io.flutter.embedding.engine.renderer.FlutterRenderer.ImageTextureRegistryEntry

Public Member Functions

Image acquireLatestImage ()
 

Detailed Description

Definition at line 138 of file TextureRegistry.java.

Member Function Documentation

◆ acquireLatestImage()

Image io.flutter.view.TextureRegistry.ImageConsumer.acquireLatestImage ( )

Retrieve the last Image produced. Drops all previously produced images.

NOTE: Caller must call Image.close() on returned image.

Returns
Image or null.

Implemented in io.flutter.embedding.engine.renderer.FlutterRenderer.ImageReaderSurfaceProducer, and io.flutter.embedding.engine.renderer.FlutterRenderer.ImageTextureRegistryEntry.


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