public interface

AnimatedImageDecoder

com.facebook.imagepipeline.animated.factory.AnimatedImageDecoder
Known Indirect Subclasses

Summary

Public Methods
abstract AnimatedImage decode(long nativePtr, int sizeInBytes)
Factory method to create the AnimatedImage from the
abstract AnimatedImage decode(ByteBuffer byteBuffer)
Factory method to create the AnimatedImage from a ByteBuffer

Public Methods

public abstract AnimatedImage decode (long nativePtr, int sizeInBytes)

Factory method to create the AnimatedImage from the

Parameters
nativePtr The native pointer
sizeInBytes The size in byte to allocate
Returns
  • The AnimatedImage allocation

public abstract AnimatedImage decode (ByteBuffer byteBuffer)

Factory method to create the AnimatedImage from a ByteBuffer

Parameters
byteBuffer The ByteBuffer containing the image
Returns
  • The AnimatedImage allocation