Also: Google
Play services
public static interface StreamDownloadTask.StreamProcessor
A callback that is used to handle the stream download
Public Method Summary
abstract void |
doInBackground(StreamDownloadTask.TaskSnapshot
state, InputStream
stream)
doInBackground gets called on a background thread and should process the input
stream to load data as desired.
|
Public Methods
public abstract void doInBackground (StreamDownloadTask.TaskSnapshot state, InputStream stream)
Also:
Google Play services
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 | is the current
StreamDownloadTask.TaskSnapshot for this task |
---|---|
stream | the InputStream
for the downloaded bytes. |
Throws
IOException | may be thrown to cancel the operation. |
---|