package com.bumptech.glide.load.resource.transcode; import com.bumptech.glide.load.engine.Resource; /** * Transcodes a resource of one type to a resource of another type. * * @param The type of the resource that will be transcoded from. * @param The type of the resource that will be transcoded to. */ public interface ResourceTranscoder { /** * Transcodes the given resource to the new resource type and returns the wew resource. * * @param toTranscode The resource to transcode. */ public Resource transcode(Resource toTranscode); public String getId(); }