public abstract class DataPoint<T extends Object>

Known direct subclasses
CumulativeDataPoint

A DataPoint containing a cumulative total for the type dataType between start and end.

IntervalDataPoint

Data point that includes just the delta from the previous data point for dataType.

SampleDataPoint

Data point that represents a piece of data that was valid at a single point in time, for example heart rate or speed.

StatisticalDataPoint

Data point that represents statistics on SampleDataPoints between start and end, though it is not required to request samples separately.


Base class to represent individual pieces of data of type dataType.

Summary

Public methods

@NonNull DataType<@NonNull T, @NonNull DataPoint<@NonNull T>>

Type of data contained within this DataPoint.

Public methods

getDataType

Added in 1.0.0
public @NonNull DataType<@NonNull T, @NonNull DataPoint<@NonNull T>> getDataType()

Type of data contained within this DataPoint.