Factory

class Factory(parallelismLock: Semaphore = Semaphore(DEFAULT_MAX_PARALLELISM)) : Decoder.Factory

Constructors

Link copied to clipboard
constructor(parallelismLock: Semaphore = Semaphore(DEFAULT_MAX_PARALLELISM))

Functions

Link copied to clipboard
open override fun create(result: SourceFetchResult, options: Options, imageLoader: ImageLoader): Decoder?

Return a Decoder that can decode result or 'null' if this factory cannot create a decoder for the source.