Also: Google
Play services
public class StreamDownloadTask.TaskSnapshot extends SnapshotBase
Encapsulates state about the running StreamDownloadTask
Public Method Summary
long | |
InputStream | |
long |
Inherited Method Summary
Public Methods
public long getBytesTransferred ()
Also:
Google Play services
Returns
- the total bytes downloaded so far.
public InputStream getStream ()
Also:
Google Play services
Returns
- The stream that represents downloaded bytes from Storage. This stream should be
closed either in
doInBackground(TaskSnapshot, InputStream)
or inOnSuccessListener
,OnFailureListener
public long getTotalByteCount ()
Also:
Google Play services
Returns
- the total bytes of the download.