AggregateDataType


class AggregateDataType<T : Number, D : DataPoint<T>> : DataType


DataType that represents aggregated data. This will map to CumulativeDataPoints and StatisticalDataPoints.

Summary

Public constructors

<T : Number, D : DataPoint<T>> AggregateDataType(
    name: String,
    timeType: DataType.TimeType,
    valueClass: Class<T>
)

Inherited functions

From androidx.health.services.client.data.DataType
open operator Boolean
equals(other: Any?)
open Int
open String

Inherited properties

From androidx.health.services.client.data.DataType
String

Returns the name of this DataType, e.g. "Steps".

Class<T>

Returns the underlying Class of this DataType.

Public constructors

AggregateDataType

<T : Number, D : DataPoint<T>> AggregateDataType(
    name: String,
    timeType: DataType.TimeType,
    valueClass: Class<T>
)