MeasureCallback

interface MeasureCallback


Callback for MeasureClient.registerCallback.

Summary

Public methods

abstract void
onAvailabilityChanged(DataType dataType, Availability availability)

Called when the availability of a DataType changes.

abstract void

Called when new data is available.

Public methods

onAvailabilityChanged

abstract void onAvailabilityChanged(DataType dataType, Availability availability)

Called when the availability of a DataType changes.

onData

abstract void onData(List<DataPoint> data)

Called when new data is available. Data can be batched in a list of DataPoint.