com.google.firebase.storage.StreamDownloadTask.StreamProcessor |
A callback that is used to handle the stream download
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
doInBackground gets called on a background thread
and should process the input stream to load data as desired.
|
doInBackground gets called on a background thread
and should process the input stream to load data as desired.
The stream should be closed prior to returning or in the handler
onSuccess(Object)
Parameters | |
---|---|
state |
StreamDownloadTask.TaskSnapshot :
is the current StreamDownloadTask.TaskSnapshot for this task |
stream |
InputStream :
the InputStream for the downloaded bytes. |
Throws | |
---|---|
IOException |
may be thrown to cancel the operation. |