com.google.android.gms.drive.DriveFile.DownloadProgressListener |
This interface is deprecated.
Use OpenFileCallback
instead.
A listener for progress events on an active contents download. This listener can be specified
using an optional parameter in open(GoogleApiClient, int, DriveFile.DownloadProgressListener)
.
See open(GoogleApiClient, int, DriveFile.DownloadProgressListener)
for more information about the behavior when opening files.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Parameters | |
---|---|
bytesDownloaded |
long : the number of bytes downloaded so far. |
bytesExpected |
long : the expected number of total bytes. This value is an estimate and might
not correspond to the contents eventually returned. Note: This value will be -1 if the
expected number of total bytes is unknown.
|