Package 

Class BaseCloseableImage

  • All Implemented Interfaces:
    com.facebook.common.references.HasBitmap , com.facebook.fresco.middleware.HasExtraData , com.facebook.imagepipeline.image.CloseableImage , com.facebook.imagepipeline.image.HasImageMetadata , com.facebook.imagepipeline.image.ImageInfo , java.io.Closeable , java.lang.AutoCloseable

    
    public abstract class BaseCloseableImage
     implements CloseableImage
                        

    A simple wrapper around an image that implements Closeable

    • Method Summary

      Modifier and Type Method Description
      QualityInfo getQualityInfo() Returns quality information for the image.
      boolean isStateful() Whether or not this image contains state for a particular view of the image (for example, theimage for an animated GIF might contain the current frame being viewed).
      Map<String, Object> getExtras()
      void putExtras(@Nullable() Map<String, out Object> extras) Sets extras that match mImageExtrasList to this image from supplied extras
      <E> void putExtra(String extra, @Nullable() E value)
      <T> T getExtra(String key)
      <T> T getExtra(String key, @Nullable() T valueIfNotFound)
      ImageInfo getImageInfo()
      • Methods inherited from class com.facebook.imagepipeline.image.CloseableImage

        close, getHeight, getSizeInBytes, getWidth, isClosed
      • Methods inherited from class java.io.Closeable

        close
      • Methods inherited from class com.facebook.fresco.middleware.HasExtraData

        getExtra, getExtras, putExtra, putExtras
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait