Package 

Class GifDecoder

  • All Implemented Interfaces:
    coil3.decode.Decoder

    
    public final class GifDecoder
     implements Decoder
                        

    A Decoder that uses Movie to decode GIFs.

    NOTE: Prefer using AnimatedImageDecoder on API 28 and above.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public final class GifDecoder.Factory
    • Constructor Summary

      Constructors 
      Constructor Description
      GifDecoder(ImageSource source, Options options, Boolean enforceMinimumFrameDelay)
    • Method Summary

      Modifier and Type Method Description
      <ERROR CLASS> decode()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GifDecoder

        GifDecoder(ImageSource source, Options options, Boolean enforceMinimumFrameDelay)
        Parameters:
        enforceMinimumFrameDelay - If true, rewrite a GIF's frame delay to a default value if it is below a threshold.
    • Method Detail

      • decode

         <ERROR CLASS> decode()