public class

StreamDownloadTask.TaskSnapshot

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

Class Overview

Encapsulates state about the running StreamDownloadTask

Summary

Public Methods
long getBytesTransferred()
InputStream getStream()
long getTotalByteCount()
[Expand]
Inherited Methods
From class com.google.firebase.storage.StorageTask.SnapshotBase
From class java.lang.Object
From interface com.google.firebase.storage.StorageTask.ProvideError

Public Methods

public long getBytesTransferred ()

Returns
long the total bytes downloaded so far.

public InputStream getStream ()

Returns
InputStream The stream that represents downloaded bytes from Storage. This stream should be closed either in doInBackground(TaskSnapshot, InputStream) or in OnSuccessListener, OnFailureListener

public long getTotalByteCount ()

Returns
long the total bytes of the download.