public static interface

StreamDownloadTask.StreamProcessor

com.google.firebase.storage.StreamDownloadTask.StreamProcessor

Class Overview

A callback that is used to handle the stream download

Summary

Public Methods
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)

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.