StreamDownloadTask.TaskSnapshot

public class StreamDownloadTask.TaskSnapshot extends Object
implements StorageTask.ProvideError

Encapsulates state about the running StreamDownloadTask

Public Method Summary

long
Exception
getError()
Returns the last error encountered.
StorageReference
getStorage()
Returns the target of the upload.
InputStream
StorageTask<TResult extends StorageTask.ProvideError>
getTask()
Returns the StorageTask for this state.
long

Inherited Method Summary

Public Methods

public long getBytesTransferred ()

Returns
  • the total bytes downloaded so far.

public Exception getError ()

Returns the last error encountered.

public StorageReference getStorage ()

Returns the target of the upload.

public InputStream getStream ()

Returns

public StorageTask<TResult extends StorageTask.ProvideError> getTask ()

Returns the StorageTask for this state.

public long getTotalByteCount ()

Returns
  • the total bytes of the download.

Send feedback about...

Need help? Visit our support page.