DeltaDataType


class DeltaDataType<T : Any, D : DataPoint<T>> : DataType


DataType that represents a granular, non-aggregated point in time. This will map to IntervalDataPoints and SampleDataPoints.

Summary

Public constructors

<T : Any, D : DataPoint<T>> DeltaDataType(
    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

DeltaDataType

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