java.lang.Object | |
↳ | com.facebook.imagepipeline.image.CloseableImage |
Known Direct Subclasses |
Known Indirect Subclasses |
A simple wrapper around an image that implements Closeable
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CloseableImage() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
close()
Closes this instance and releases the resources.
| ||||||||||
Map<String, Object> | getExtras() | ||||||||||
QualityInfo |
getQualityInfo()
Returns quality information for the image.
| ||||||||||
abstract int | getSizeInBytes() | ||||||||||
abstract boolean |
isClosed()
Returns whether this instance is closed.
| ||||||||||
boolean |
isStateful()
Whether or not this image contains state for a particular view of the image (for example, the
image for an animated GIF might contain the current frame being viewed).
| ||||||||||
void |
setImageExtras(Map<String, Object> extras)
Sets extras that match mImageExtrasList to this image from supplied extras
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
finalize()
Ensures that the underlying resources are always properly released.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.facebook.imagepipeline.image.HasImageMetadata
| |||||||||||
From interface
com.facebook.imagepipeline.image.ImageInfo
| |||||||||||
From interface
java.io.Closeable
| |||||||||||
From interface
java.lang.AutoCloseable
|
Closes this instance and releases the resources.
Returns quality information for the image.
Image classes that can contain intermediate results should override this as appropriate.
Returns whether this instance is closed.
Whether or not this image contains state for a particular view of the image (for example, the image for an animated GIF might contain the current frame being viewed). This means that the image should not be stored in the bitmap cache.
Sets extras that match mImageExtrasList to this image from supplied extras
Ensures that the underlying resources are always properly released.
Throwable |
---|