java.lang.Object | |
↳ | com.facebook.imagepipeline.decoder.ImageDecoderConfig.Builder |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Builder() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ImageDecoderConfig.Builder |
addDecodingCapability(ImageFormat imageFormat, ImageFormat.FormatChecker imageFormatChecker, ImageDecoder decoder)
Add a new decoding capability for a new image format.
| ||||||||||
ImageDecoderConfig | build() | ||||||||||
ImageDecoderConfig.Builder |
overrideDecoder(ImageFormat imageFormat, ImageDecoder decoder)
Use a different decoder for an existing image format.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Add a new decoding capability for a new image format.
imageFormat | the new image format |
---|---|
imageFormatChecker | the format checker that can determine the new image format |
decoder | the decoder that can decode the new image format |
Use a different decoder for an existing image format. This can be used for example to set a
custom decoder for any of the DefaultImageFormats
imageFormat | the existing image format |
---|---|
decoder | the decoder to use |