abstract class DataPoint<T : Any>

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 properties

open DataType<T, DataPoint<T>>

Type of data contained within this DataPoint.

Public properties

dataType

Added in 1.0.0
open val dataTypeDataType<T, DataPoint<T>>

Type of data contained within this DataPoint.