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
-
Method Details
-
transcode
Transcodes the given resource to the new resource type and returns the new resource.- Parameters:
toTranscode- The resource to transcode.
-