StatisticalDataPoint
public final class StatisticalDataPoint<T extends Number> extends DataPoint
| java.lang.Object | ||
| ↳ | androidx.health.services.client.data.DataPoint | |
| ↳ | androidx.health.services.client.data.StatisticalDataPoint |
Data point that represents statistics on SampleDataPoints between start and end, though it is not required to request samples separately.
Summary
Public constructors |
|---|
<T extends Number> StatisticalDataPoint( |
Public methods |
|
|---|---|
final @NonNull T |
|
final @NonNull Instant |
getEnd()The end time this point covers. |
final @NonNull T |
getMax() |
final @NonNull T |
getMin() |
final @NonNull Instant |
getStart()The beginning of time this point covers. |
Inherited methods |
|---|
Public constructors
StatisticalDataPoint
public <T extends Number> StatisticalDataPoint(
@NonNull AggregateDataType<@NonNull T, @NonNull StatisticalDataPoint<@NonNull T>> dataType,
@NonNull T min,
@NonNull T max,
@NonNull T average,
@NonNull Instant start,
@NonNull Instant end
)