| com.google.android.gms.drive.events.DriveEvent |
Known Indirect Subclasses
| |||||||||||||||
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
add 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 remove method is
called on the same entity with the same callback parameter.
| Nested Classes | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the type of an event.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
| |||||||||||||||
Returns the type of an event. See the TYPE_* constants for possible values.