public class

AnimationFrameCacheKey

extends Object
implements CacheKey
java.lang.Object
   ↳ com.facebook.fresco.animation.bitmap.cache.AnimationFrameCacheKey

Summary

Public Constructors
AnimationFrameCacheKey(int imageId)
Public Methods
boolean containsUri(Uri uri)
Returns true if this key was constructed from this Uri.
String getUriString()
Returns a string representation of the URI at the heart of the cache key.
boolean isResourceIdForDebugging()
Returns true if this key was constructed from a resource ID.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.facebook.cache.common.CacheKey

Public Constructors

public AnimationFrameCacheKey (int imageId)

Public Methods

public boolean containsUri (Uri uri)

Returns true if this key was constructed from this Uri.

Used for cases like deleting all keys for a given uri.

public String getUriString ()

Returns a string representation of the URI at the heart of the cache key. In cases of multiple keys being contained, the first is returned.

public boolean isResourceIdForDebugging ()

Returns true if this key was constructed from a resource ID. If this ever changes, the disk cache entries corresponding to this cache key would be invalidated.