OpenFileCallback

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
onContents(DriveContents contents)
Called when the file is downloaded.
abstract void
onError(Exception exception)
Called when there is an error opening the file.
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.