StaticImageDecoder

@RequiresApi(value = 29)
class StaticImageDecoder(source: ImageDecoder.Source, closeable: AutoCloseable, options: Options, parallelismLock: Semaphore) : Decoder

Constructors

Link copied to clipboard
constructor(source: ImageDecoder.Source, closeable: AutoCloseable, options: Options, parallelismLock: Semaphore)

Types

Link copied to clipboard
class Factory(parallelismLock: Semaphore = Semaphore(DEFAULT_MAX_PARALLELISM)) : Decoder.Factory

Functions

Link copied to clipboard
open suspend override fun decode(): DecodeResult

Decode the SourceFetchResult provided by Factory.create or return 'null' to delegate to the next Factory in the component registry.