Summary: Methods | [Expand All]
public static interface

# DataApi.DataListener

com.google.android.gms.wearable.DataApi.DataListener

Known Indirect Subclasses WearableListenerService
WearableListenerService | Receives events from other nodes, such as data changes, messages or connectivity events.

## Class Overview

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

##### See Also

- `WearableListenerService`

## 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.