-
- All Implemented Interfaces:
-
coil.decode.Decoder
public final class GifDecoder implements DecoderA Decoder that uses Movie to decode GIFs.
NOTE: Prefer using ImageDecoderDecoder on API 28 and above.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classGifDecoder.Factorypublic classGifDecoder.Companion
-
Constructor Summary
Constructors Constructor Description GifDecoder(ImageSource source, Options options, Boolean enforceMinimumFrameDelay)GifDecoder(ImageSource source, Options options)
-
Method Summary
Modifier and Type Method Description <ERROR CLASS>decode()-
-
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.
-
GifDecoder
GifDecoder(ImageSource source, Options options)
-
-
Method Detail
-
decode
<ERROR CLASS> decode()
-
-
-
-