public interface

DriveEvent

implements Parcelable
com.google.android.gms.drive.events.DriveEvent
Known Indirect Subclasses

Class Overview

Base interface implemented by all Drive event types. An application can express interest in receiving events by adding an event listener.

An event listener implements the DriveEvent.Listener interface for a particular event type and receives a direct callback from the Drive service to a client application that is currently connected. A listener is added by calling the appropriate addListener method on the DriveResource of interest or on DriveApi for listeners that are not resource-specific. Listeners are active for the duration of the current connection or until the removeListener method is called on the same entity with the same callback parameter.

Summary

Nested Classes
interface DriveEvent.Listener<E extends DriveEvent> Listens for Drive events of a particular type. 
Constants
int TYPE_CHANGE Event type that indicates a resource change.
[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Methods
abstract int getType()
Returns the type of an event.
[Expand]
Inherited Methods
From interface android.os.Parcelable

Constants

public static final int TYPE_CHANGE

Event type that indicates a resource change.

See Also
Constant Value: 1 (0x00000001)

Public Methods

public abstract int getType ()

Returns the type of an event. See the TYPE_* constants for possible values.