TranscoderRegistry

open class TranscoderRegistry

A class that allows com.bumptech.glide.load.resource.transcode.ResourceTranscoders to be registered and retrieved by the classes they convert between.

Functions

Link copied to clipboard
open fun <Z, R> get(resourceClass: Class<Z>, transcodedClass: Class<R>): ResourceTranscoder<Z, R>
Returns the currently registered for the given classes.
Link copied to clipboard
open fun <Z, R> getTranscodeClasses(resourceClass: Class<Z>, transcodeClass: Class<R>): List<Class<R>>
Link copied to clipboard
open fun <Z, R> register(    decodedClass: Class<Z>,     transcodedClass: Class<R>,     transcoder: ResourceTranscoder<Z, R>)
Registers the given com.bumptech.glide.load.resource.transcode.ResourceTranscoder using the given classes so it can later be retrieved using the given classes.