class AggregateRequest


Request object to read aggregations for given AggregateMetrics in Android Health Platform.

See also
aggregate

Summary

Public constructors

AggregateRequest(
    metrics: Set<AggregateMetric<*>>,
    timeRangeFilter: TimeRangeFilter,
    dataOriginFilter: Set<DataOrigin>
)

Public functions

open operator Boolean
equals(other: Any?)
open Int

Public constructors

AggregateRequest

AggregateRequest(
    metrics: Set<AggregateMetric<*>>,
    timeRangeFilter: TimeRangeFilter,
    dataOriginFilter: Set<DataOrigin> = emptySet()
)
Parameters
metrics: Set<AggregateMetric<*>>

Set of AggregateMetrics to aggregate.

timeRangeFilter: TimeRangeFilter

The TimeRangeFilter to read from.

dataOriginFilter: Set<DataOrigin> = emptySet()

Set of DataOrigins to read from, or empty for no filter.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int