DataType.TimeType
public final class DataType.TimeType
Whether the DataType corresponds to a measurement spanning an interval, or a sample at a single point in time.
Summary
Public fields |
|
|---|---|
static final @NonNull DataType.TimeType |
TimeType that indicates the DataType has a value that represents an interval of time with a beginning and end. |
static final @NonNull DataType.TimeType |
TimeType that indicates the DataType has a value that represents a single point in time. |
static final @NonNull DataType.TimeType |
The |
Public methods |
|
|---|---|
boolean |
|
final int |
getId() |
final @NonNull String |
getName() |
int |
hashCode() |
@NonNull String |
toString() |
Public fields
INTERVAL
public static final @NonNull DataType.TimeType INTERVAL
TimeType that indicates the DataType has a value that represents an interval of time with a beginning and end. For example, number of steps taken over a span of time.
SAMPLE
public static final @NonNull DataType.TimeType SAMPLE
TimeType that indicates the DataType has a value that represents a single point in time. For example, heart rate reading at a specific time.
UNKNOWN
public static final @NonNull DataType.TimeType UNKNOWN
The TimeType is unknown or this library is too old to know about it.