com.facebook.imagepipeline.cache.MediaIdExtractor |
Experimental interface for a helper to extract media IDs from URLs. This can be useful in cases where manually updating all image requests may carry too much overhead initially.
Implementations must be careful not to provide identical media IDs for images which will be returned with different aspect ratios or cropping.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract String |
getMediaIdFrom(Uri uri)
Extracts the media ID, if possible, from the provided URI.
|
Extracts the media ID, if possible, from the provided URI.
uri | the image request's URI |
---|