public final class

ChangeEvent

extends Object
implements Parcelable ResourceEvent
java.lang.Object
   ↳ com.google.android.gms.drive.events.ChangeEvent

Class Overview

Sent when a DriveResource has had a change to its DriveContents or Metadata. Refer to DriveEvent for additional information about event listeners. Refer to DriveEvent for general information about event listeners and addChangeListener(GoogleApiClient, ChangeListener) for how to create them.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<ChangeEvent> CREATOR
Public Methods
int describeContents()
DriveId getDriveId()
Returns the id of the Drive resource that triggered the event.
boolean hasContentChanged()
Returns true if the content has changed for this resource.
boolean hasMetadataChanged()
Returns true if the metadata has changed for this resource.
String toString()
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable
From interface com.google.android.gms.drive.events.ResourceEvent

Fields

public static final Creator<ChangeEvent> CREATOR

Public Methods

public int describeContents ()

public DriveId getDriveId ()

Returns the id of the Drive resource that triggered the event.

public boolean hasContentChanged ()

Returns true if the content has changed for this resource.

public boolean hasMetadataChanged ()

Returns true if the metadata has changed for this resource.

public String toString ()

public void writeToParcel (Parcel dest, int flags)