java.lang.Object | |
↳ | com.facebook.imagepipeline.image.CloseableImage |
![]() |
![]() |
A simple wrapper around an image that implements Closeable
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CloseableImage() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
close()
Closes this instance and releases the resources.
| ||||||||||
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).
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
finalize()
Ensures that the underlying resources are always properly released.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
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.
Ensures that the underlying resources are always properly released.
Throwable |
---|