SensorEventDispatcher

public interfaceSensorEventDispatcher

Dispatcher that can be used byFitnessSensorService implementations to push events to the Fitness Platform. Each event is delivered as a DataPoint.

Public Method Summary

abstract void
publish(DataPoint dataPoint)
Publishes a new data point to the Fitness Platform.
abstract void
publish(List<DataPoint> dataPoints)
Publishes a batch of data points to the Fitness Platform.

Public Methods

public abstract voidpublish(DataPoint dataPoint)

Publishes a new data point to the Fitness Platform.

public abstract voidpublish(List<DataPoint> dataPoints)

Publishes a batch of data points to the Fitness Platform.