Package io.flutter.view

# Interface TextureRegistry.ImageConsumer

All Superinterfaces:
  `TextureRegistry.TextureEntry`

Enclosing interface:
  TextureRegistry

public static interface TextureRegistry.ImageConsumer extends TextureRegistry.TextureEntry

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Image`
  `acquireLatestImage()`
  Retrieve the last Image produced.

  ### Methods inherited from interface io.flutter.view.TextureRegistry.TextureEntry

  `id, release`

- ## Method Details

  - ### acquireLatestImage

    Image acquireLatestImage()
    Retrieve the last Image produced. Drops all previously produced images.

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

    Returns:
      Image or null.