-
public class ImageDownloadercom.facebook.internal is solely for the use of other packages within the Facebook SDK for Android. Use of any of the classes in this package is unsupported, and they may be modified or removed without warning at any time.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classImageDownloader.RequestKeypublic final classImageDownloader.DownloaderContext
-
Field Summary
Fields Modifier and Type Field Description public final static ImageDownloaderINSTANCE
-
Method Summary
Modifier and Type Method Description final static UnitdownloadAsync(ImageRequest request)Downloads the image specified in the passed in request. final static BooleancancelRequest(ImageRequest request)final static UnitprioritizeRequest(ImageRequest request)final static UnitclearCache()final Map<ImageDownloader.RequestKey, ImageDownloader.DownloaderContext>getPendingRequests()-
-
Method Detail
-
downloadAsync
final static Unit downloadAsync(ImageRequest request)
Downloads the image specified in the passed in request. If a callback is specified, it is guaranteed to be invoked on the calling thread.
- Parameters:
request- Request to process
-
cancelRequest
final static Boolean cancelRequest(ImageRequest request)
-
prioritizeRequest
final static Unit prioritizeRequest(ImageRequest request)
-
clearCache
final static Unit clearCache()
-
getPendingRequests
final Map<ImageDownloader.RequestKey, ImageDownloader.DownloaderContext> getPendingRequests()
-
-
-
-