public class BitmapProcessor extends Processor<android.graphics.Bitmap>
| Constructor and Description |
|---|
BitmapProcessor() |
| Modifier and Type | Method and Description |
|---|---|
android.graphics.Bitmap |
getContent()
Processes the response from the stream.
|
void |
onPublishedDownloadProgress(byte[] chunk,
int chunkLength,
long totalProcessed,
long totalLength)
Called when a chunk has been downloaded from the request.
|
getConnectionInfo, onPublishedDownloadProgress, onPublishedUploadProgress, onPublishedUploadProgress, onSendpublic void onPublishedDownloadProgress(byte[] chunk,
int chunkLength,
long totalProcessed,
long totalLength)
ProcessoronPublishedDownloadProgress in class Processor<android.graphics.Bitmap>chunk - The chunk of data. This will be the null after the total amount has been downloaded.chunkLength - The length of the chunktotalProcessed - The total amount of data processed from the request.totalLength - The total size of the request. note: This can be
-1 during download.public android.graphics.Bitmap getContent()
getContent in class Processor<android.graphics.Bitmap>