java.lang.Object | ||
↳ | com.google.android.gms.common.api.CommonStatusCodes | |
↳ | com.google.android.gms.drive.DriveStatusCodes |
Drive specific status codes, for use in getStatusCode()
.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | DRIVE_CONTENTS_TOO_LARGE | The operation failed because the given contents exceeded the maximum allowed contents size. | |||||||||
int | DRIVE_EXTERNAL_STORAGE_REQUIRED | This constant is deprecated. External storage is no longer required. | |||||||||
int | DRIVE_RATE_LIMIT_EXCEEDED | The operation failed because the application attempted the operation too often. | |||||||||
int | DRIVE_RESOURCE_NOT_AVAILABLE | The operation failed because the requested resource does not exist or you are not authorized to access it. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns an untranslated debug (not user-friendly!) string based on the current status code.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
The operation failed because the given contents exceeded the maximum allowed contents size.
This constant is deprecated.
External storage is no longer required.
The Drive API requires external storage (such as an SD card), but no external storage is mounted. This error is recoverable if the user installs external storage (if none is present) and ensures that it is mounted (which may involve disabling USB storage mode, formatting the storage, or other initialization as required by the device).
This error should never be returned on a device with emulated external storage. On devices with emulated external storage, the emulated "external storage" is always present regardless of whether the device also has removable storage.
The operation failed because the application attempted the operation too often. In general, this is a temporary error and the operation may succeed once sufficient time has elapsed. It is recommended that the application backs off with increasing duration every time the operation fails with this error.
The operation failed because the requested resource does not exist or you are not authorized to access it.
Returns an untranslated debug (not user-friendly!) string based on the current status code.
Parameters | |
---|---|
statusCode |
int
|
Returns | |
---|---|
String |