java.lang.Object | |
↳ | com.google.android.gms.drive.Drive |
The Drive API provides easy access to users' Google Drive contents. This API includes Activities to open or create files in users' Drives, as well as the ability to programmatically interact with contents, metadata, and the folder hierarchy.
To use Drive, enable the API
and at least one scope of SCOPE_FILE
or
SCOPE_APPFOLDER
in a GoogleApiClient
.
DriveApi
, provides the entry point for interacting with Drive.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
API | The API necessary to use Drive. | ||||||||||
DriveApi | The entry point for interacting with the Drive APIs which provides ways to access/update the files and folders in users Drive. | ||||||||||
DrivePreferencesApi | The entry point for interacting with the Drive APIs which provides ways to access/update Drive preferences. | ||||||||||
SCOPE_APPFOLDER | A Scope that gives 'drive.appfolder' access to a user's drive. | ||||||||||
SCOPE_FILE | A Scope that gives 'drive.file' access to a user's drive. |
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
The API necessary to use Drive. Provide this as an API to
addApi(Api)
.
The entry point for interacting with the Drive APIs which provides ways to access/update the files and folders in users Drive.
The entry point for interacting with the Drive APIs which provides ways to access/update Drive preferences.
A Scope that gives 'drive.appfolder' access to a user's drive. This scope gives access to files that have been created by the app in the App Folder.
This scope can be provided in
addScope(Scope)
A Scope that gives 'drive.file' access to a user's drive. This scope give per-file access to files that have been created by, or specifically opened with the app.
This scope can be provided in
addScope(Scope)