Package 

Interface CloseableBitmap

  • 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 interface CloseableBitmap
     implements CloseableImage
                        

    CloseableImage that wraps a bitmap.

    • Method Summary

      Modifier and Type Method Description
      abstract Bitmap getUnderlyingBitmap() Gets the underlying bitmap.
      • Methods inherited from class com.facebook.imagepipeline.image.CloseableImage

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

        close
      • Methods inherited from class com.facebook.imagepipeline.image.HasImageMetadata

        getExtras
      • 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
    • Method Detail

      • getUnderlyingBitmap

         abstract Bitmap getUnderlyingBitmap()

        Gets the underlying bitmap. Note: care must be taken because subclasses might be moresophisticated than that. For example, animated bitmap may have many frames and this method willonly return the first one.