public abstract class

CloseableBitmap

extends CloseableImage
java.lang.Object
   ↳ com.facebook.imagepipeline.image.CloseableImage
     ↳ com.facebook.imagepipeline.image.CloseableBitmap
Known Direct Subclasses

Class Overview

CloseableImage that wraps a bitmap.

Summary

Public Constructors
CloseableBitmap()
Public Methods
abstract Bitmap getUnderlyingBitmap()
Gets the underlying bitmap.
[Expand]
Inherited Methods
From class com.facebook.imagepipeline.image.CloseableImage
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

Public Constructors

public CloseableBitmap ()

Public Methods

public abstract Bitmap getUnderlyingBitmap ()

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

Returns
  • the underlying bitmap