com.google.android.gms.drive.DriveResource |
![]()
|
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 Resource represents a file or folder in Drive.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DriveResource.MetadataResult | Result that is returned in response to metadata requests. | ||||||||||
DriveResource.OnMetadataRetrievedCallback | A callback that provides the result for a get request. | ||||||||||
DriveResource.OnMetadataUpdatedCallback | A callback that indicates that the metadata update has completed. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the DriveId that uniquely identifies this resource.
| |||||||||||
Retrieves the Metadata that is associated with this resource.
| |||||||||||
Updates the Metadata that is associated with this resource with the changes described
in the
MetadataChangeSet . |
Retrieves the Metadata that is associated with this resource.
apiClient | The GoogleApiClient to service the call. |
---|
Updates the Metadata that is associated with this resource with the changes described
in the MetadataChangeSet
.
apiClient | The GoogleApiClient to service the call. The client must be
connected when this method is invoked. |
---|---|
changeSet | The set of changes that will be applied to the Metadata. Only include the specific fields that wish to be updated. |