ResourceEvent
Stay organized with collections
Save and categorize content based on your preferences.
|
Known Indirect Subclasses
|
Base interface for DriveEvent
types related to a specific resource.
Inherited Constant Summary
From interface android.os.Parcelable
| int |
CONTENTS_FILE_DESCRIPTOR |
|
| int |
PARCELABLE_WRITE_RETURN_VALUE |
|
Public Method Summary
|
abstract DriveId
|
getDriveId()
Returns the id of the Drive resource that triggered the event.
|
Inherited Method Summary
From interface android.os.Parcelable
| abstract int |
describeContents()
|
| abstract void |
writeToParcel( Parcel arg0,
int arg1)
|
Public Methods
public abstract DriveId
getDriveId ()
Returns the id of the Drive resource that triggered the event.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[],["`ResourceEvent` is a base interface for `DriveEvent` types, concerning a specific resource. It has two known subclasses: `ChangeEvent`, which signals changes to a `DriveResource`'s `DriveContents` or `Metadata`, and `CompletionEvent`, triggered after a completion notification request succeeds or fails. `ResourceEvent` includes the method `getDriveId()`, which returns the `DriveId` of the resource that caused the event. It also uses constants such as `CONTENTS_FILE_DESCRIPTOR` and `PARCELABLE_WRITE_RETURN_VALUE`.\n"]]