Android SDK Version


public class ImageDownloader
com.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
Modifier and TypeClassDescription
public final classImageDownloader.RequestKey
public final classImageDownloader.DownloaderContext
Field Summary
Modifier and TypeFieldDescription
public final static ImageDownloaderINSTANCE
Method Summary
Modifier and TypeMethodDescription
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()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail

downloadAsync

 final static UnitdownloadAsync(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 BooleancancelRequest(ImageRequest request)

prioritizeRequest

 final static UnitprioritizeRequest(ImageRequest request)

clearCache

 final static UnitclearCache()