ImageDownloader.IBitmapReceiver¶
-
public interface
IBitmapReceiver
¶ An ImageDownloader user must provide this interface for receiving notifications about image donwloading and storing.
Methods¶
onBitmapDownloaded¶
-
public void
onBitmapDownloaded
(ImageDownloader imageDownloader, Bitmap image)¶ Called when a bitmap was successfully downloaded
Parameters: - imageDownloader – the ImageDownloader that has triggered this callback
- image – the downloaded bitmap
onBitmapDownloadingError¶
-
public void
onBitmapDownloadingError
(ImageDownloader imageDownloader, Exception ex)¶ Called when the image downloading failed for some raison
Parameters: - imageDownloader – the ImageDownloader that has triggered this callback
- ex – the exception raised during the downloading process
onBitmapSaved¶
-
public void
onBitmapSaved
(ImageDownloader imageDownloader, String filename)¶ Called when the bitmp was stored in to the internal storage
Parameters: - imageDownloader – the ImageDownloader that has triggered this callback
- filename – the name of the stored file
onBitmapSavingError¶
-
public void
onBitmapSavingError
(ImageDownloader imageDownloader, Exception ex)¶ Called when the image saving failed for some raison
Parameters: - imageDownloader – the ImageDownloader that has triggered this callback
- ex – the exception raised during the saving process