# AggregateMetric

Artifact: [androidx.health.connect:connect-client](https://developer.android.com/jetpack/androidx/releases/health-connect) [View Source](https://cs.android.com/search?q=file:androidx/health/connect/client/aggregate/AggregateMetric.kt+class:androidx.health.connect.client.aggregate.AggregateMetric) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

*** ** * ** ***


```
public final class AggregateMetric<T extends Object>
```

<br />

*** ** * ** ***

Identifier to supported metrics for aggregation.

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/health/connect/client/aggregate/AggregationResult#contains(androidx.health.connect.client.aggregate.AggregateMetric)` |   |
| `https://developer.android.com/reference/androidx/health/connect/client/aggregate/AggregationResult#get(androidx.health.connect.client.aggregate.AggregateMetric)` |   |