Interface ResourceTranscoder<Z,R>
-
- Type Parameters:
Z- The type of the resource that will be transcoded from.R- The type of the resource that will be transcoded to.
- All Known Implementing Classes:
BitmapBytesTranscoder,BitmapDrawableTranscoder,DrawableBytesTranscoder,GifDrawableBytesTranscoder,UnitTranscoder
public interface ResourceTranscoder<Z,R>Transcodes a resource of one type to a resource of another type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Resource<R>transcode(Resource<Z> toTranscode, Options options)Transcodes the given resource to the new resource type and returns the new resource.
-