ResourceEvent | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Language
close

- - About
  - Wear
  - TV
  - Auto
- - Get Started
  - Devices
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
  - Google Services
  - Samples
- - Google Play
  - Essentials
  - Get Users
  - Engage & Retain
  - Monetize
  - Analyze
  - Tools & Reference
  - Developer Stories

## Results

Loading...
Summary: Inherited Constants | Methods | Inherited Methods | [Expand All]
public interface

# ResourceEvent

implements DriveEvent

com.google.android.gms.drive.events.ResourceEvent

Known Indirect Subclasses ChangeEvent, CompletionEvent
ChangeEvent | Sent when a `DriveResource` has had a change to its `DriveContents` or `Metadata`.
CompletionEvent | An event delivered after the client requests a completion notification using `setNotifyOnCompletion(boolean)` and that action has either succeeded or failed on the server.

## Class Overview

Base interface for `DriveEvent` types related to a specific resource.

## Summary

[Expand] Inherited Constants
From interface android.os.Parcelable
int | CONTENTS_FILE_DESCRIPTOR |
int | PARCELABLE_WRITE_RETURN_VALUE |

Public Methods
abstract DriveId | getDriveId() Returns the id of the Drive resource that triggered the event.

[Expand] Inherited Methods
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.