com.google.android.gms.drive.DrivePreferencesApi |
The entry point for retrieving and updating Drive preferences. The preferences set by these APIs are applied only to the current user account and the calling application.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DrivePreferencesApi.FileUploadPreferencesResult |
Result that contains a FileUploadPreferences reference.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the file upload preferences for the file uploads performed by the calling
application.
| |||||||||||
Sets the file upload preferences for the file uploads performed by the calling application.
|
Retrieves the file upload preferences for the file uploads performed by the calling
application. These preferences control how the files that are created or edited by the
calling application are uploaded to the server from the current device. If the calling
application regularly uploads large files in the user's Drive, it is advisable to use these
preferences to control when the files should be uploaded to the server (based on network
connectivity or battery usage, etc.). See FileUploadPreferences
for more details.
apiClient | The GoogleApiClient to service the call. |
---|
FileUploadPreferences
.
Sets the file upload preferences for the file uploads performed by the calling application.
These preferences control how the files that are created or edited by the calling application
are uploaded to the server from the current device. If the calling application regularly
uploads large files in the user's Drive, it is advisable to use these preferences to control
when the files should be uploaded to the server (based on network connectivity or battery
usage, etc.). See FileUploadPreferences
for more details.
apiClient | The GoogleApiClient to service the call. The client must be
connected before invoking this call. |
---|---|
fileUploadPreferences | The preferences to set for file upload operations. |
FileUploadPreferences
.