public static interface

DataApi.DataListener

com.google.android.gms.wearable.DataApi.DataListener
Known Indirect Subclasses

Class Overview

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

Summary

Public Methods
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.