-
- All Implemented Interfaces:
-
com.facebook.common.references.HasBitmap,com.facebook.fresco.middleware.HasExtraData,com.facebook.imagepipeline.image.HasImageMetadata,com.facebook.imagepipeline.image.ImageInfo,java.io.Closeable,java.lang.AutoCloseable
public interface CloseableImage implements Closeable, ImageInfo, HasBitmap, HasExtraData
-
-
Method Summary
Modifier and Type Method Description abstract intgetSizeInBytes()abstract voidclose()Closes this instance and releases the resources. abstract booleanisClosed()Returns whether this instance is closed. abstract booleanisStateful()abstract intgetWidth()abstract intgetHeight()abstract QualityInfogetQualityInfo()abstract ImageInfogetImageInfo()-
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
-
getSizeInBytes
abstract int getSizeInBytes()
-
close
abstract void close()
Closes this instance and releases the resources.
-
isClosed
abstract boolean isClosed()
Returns whether this instance is closed.
-
isStateful
abstract boolean isStateful()
-
getWidth
abstract int getWidth()
-
getHeight
abstract int getHeight()
-
getQualityInfo
abstract QualityInfo getQualityInfo()
-
getImageInfo
abstract ImageInfo getImageInfo()
-
-
-
-