ResourceEvent Stay organized with collections Save and categorize content based on your preferences.
Page Summary
ResourceEvent is a base interface for DriveEvent types related to a specific resource.
ResourceEvent has known indirect subclasses ChangeEvent and CompletionEvent.
The ChangeEvent is sent when a DriveResource's content or metadata changes.
The CompletionEvent is delivered after a client requests and an action succeeds or fails on the server.
The
getDriveId()method returns the ID of the Drive resource that triggered the event.
Known Indirect Subclasses
| ||||||
Base interface forDriveEvent types related to a specific resource.
Inherited Constant Summary
| int | CONTENTS_FILE_DESCRIPTOR | |
| int | PARCELABLE_WRITE_RETURN_VALUE |
Public Method Summary
| abstractDriveId | getDriveId() Returns the id of the Drive resource that triggered the event. |
Inherited Method Summary
| abstract int | describeContents() |
| abstract void | writeToParcel(Parcel arg0, int arg1) |
Public Methods
public abstractDriveIdgetDriveId()
Returns the id of the Drive resource that triggered the event.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.