public abstract class OpenFileCallback extends Object
A callback for progress events on an active file contents download. This listener can be
passed to
openFile(com.google.android.gms.drive.DriveFile, int, OpenFileCallback)
.
Public Constructor Summary
Public Method Summary
abstract void | |
abstract void | |
abstract void |
onProgress(long bytesDownloaded, long bytesExpected)
Called while the file is being downloaded to report download progress.
|
Inherited Method Summary
Public Constructors
public OpenFileCallback ()
Public Methods
public abstract void onContents (DriveContents contents)
Called when the file is downloaded.
public abstract void onError (Exception exception)
Called when there is an error opening the file.
public abstract void onProgress (long bytesDownloaded, long bytesExpected)
Called while the file is being downloaded to report download progress.