public class

MediaVariationsIndexDatabase

extends Object
implements MediaVariationsIndex
java.lang.Object
   ↳ com.facebook.imagepipeline.cache.MediaVariationsIndexDatabase

Summary

Public Constructors
MediaVariationsIndexDatabase(Context context, Executor readExecutor, Executor writeExecutor)
Public Methods
Task<MediaVariations> getCachedVariants(String mediaId, MediaVariations.Builder mediaVariationsBuilder)
void saveCachedVariant(String mediaId, ImageRequest.CacheChoice cacheChoice, CacheKey cacheKey, EncodedImage encodedImage)
Protected Methods
MediaVariations getCachedVariantsSync(String mediaId, MediaVariations.Builder mediaVariationsBuilder)
void saveCachedVariantSync(String mediaId, ImageRequest.CacheChoice cacheChoice, CacheKey cacheKey, EncodedImage encodedImage)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.facebook.imagepipeline.cache.MediaVariationsIndex

Public Constructors

public MediaVariationsIndexDatabase (Context context, Executor readExecutor, Executor writeExecutor)

Public Methods

public Task<MediaVariations> getCachedVariants (String mediaId, MediaVariations.Builder mediaVariationsBuilder)

public void saveCachedVariant (String mediaId, ImageRequest.CacheChoice cacheChoice, CacheKey cacheKey, EncodedImage encodedImage)

Protected Methods

protected MediaVariations getCachedVariantsSync (String mediaId, MediaVariations.Builder mediaVariationsBuilder)

protected void saveCachedVariantSync (String mediaId, ImageRequest.CacheChoice cacheChoice, CacheKey cacheKey, EncodedImage encodedImage)