DataApi.DataListener

public static interface DataApi.DataListener
Known Indirect Subclasses

This interface is deprecated.
Use DataClient.OnDataChangedListener.

Used with DataApi.addListener(GoogleApiClient, DataApi.DataListener) to receive data events.

Public Method Summary

abstract void
onDataChanged(DataEventBuffer dataEvents)
Notification that a set of data items have been changed or deleted.

Public Methods

public abstract void onDataChanged (DataEventBuffer dataEvents)

Notification that a set of data items have been changed or deleted. The data buffer is released upon completion of this method. If a caller wishes to use the events outside this callback, they should be sure to freeze the DataEvent objects they wish to use.