Z
- The type of the resource that will be transcoded from and to.public class UnitTranscoder<Z> extends Object implements ResourceTranscoder<Z,Z>
ResourceTranscoder
that simply returns the given resource.public static <Z> ResourceTranscoder<Z,Z> get()
@Nullable public Resource<Z> transcode(@NonNull Resource<Z> toTranscode, @NonNull Options options)
ResourceTranscoder
transcode
在接口中 ResourceTranscoder<Z,Z>
toTranscode
- The resource to transcode.