public class

StreamDownloadTask.TaskSnapshot

extends Object
implements StorageTask.ProvideError
java.lang.Object
   ↳ com.google.firebase.storage.StreamDownloadTask.TaskSnapshot

Class Overview

Encapsulates state about the running StreamDownloadTask

Summary

Public Methods
long getBytesTransferred()
Exception getError()
StorageReference getStorage()
InputStream getStream()
StorageTask<TResult extends StorageTask.ProvideError> getTask()
long getTotalByteCount()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.firebase.storage.StorageTask.ProvideError

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

public long getTotalByteCount ()

Returns
  • the total bytes to upload..