java.lang.Object | |
↳ | com.google.android.gms.drive.DriveId |
Note: The Google Drive Android API is currently in developer preview. Applications compiled using this version of the API will continue to operate on devices using future versions of Google Play services; however, changes to the API are expected in future releases.
A canonical identifier for a Drive resource.
[Expand]
Inherited Constants | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CREATOR |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a DriveId from the provided remote Drive resource id.
| |||||||||||
Decodes the result of
encodeToString() back into a DriveId . | |||||||||||
Returns a String representation of this
DriveId that can be safely
persisted, and from which an equal DriveId can later be
reconstructed via decodeFromString(String) . | |||||||||||
Returns the remote Drive resource id associated with the resource.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||||||||||||||||||||
![]() |
Creates a DriveId from the provided remote Drive resource id.
Decodes the result of encodeToString()
back into a DriveId
.
IllegalArgumentException | if the argument is not a valid result of
encodeToString() .
|
---|
Returns a String representation of this DriveId
that can be safely
persisted, and from which an equal DriveId
can later be
reconstructed via decodeFromString(String)
.
Returns the remote Drive resource id associated with the resource. May be null
for
local resources that have not yet been synchronized to the Drive service.