# MeasureCapabilities

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

*** ** * ** ***


```
public final class MeasureCapabilities
```

<br />

*** ** * ** ***

Contains the capabilities supported by `https://developer.android.com/reference/androidx/health/services/client/MeasureClient` on this device.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/health/services/client/data/MeasureCapabilities#MeasureCapabilities(kotlin.collections.Set)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/Set.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/health/services/client/data/DeltaDataType<@https://developer.android.com/reference/androidx/annotation/NonNull ?, @https://developer.android.com/reference/androidx/annotation/NonNull ?>> supportedDataTypesMeasure )` |

| ### Public methods |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/Set.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/health/services/client/data/DeltaDataType<@https://developer.android.com/reference/androidx/annotation/NonNull ?, @https://developer.android.com/reference/androidx/annotation/NonNull ?>>` | `https://developer.android.com/reference/androidx/health/services/client/data/MeasureCapabilities#getSupportedDataTypesMeasure()()` Set of supported `https://developer.android.com/reference/androidx/health/services/client/data/DataType`s for measure capture on this device. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/health/services/client/data/MeasureCapabilities#toString()()` |

## Public constructors

### MeasureCapabilities

```
public MeasureCapabilities(
    @NonNull Set<@NonNull DeltaDataType<@NonNull ?, @NonNull ?>> supportedDataTypesMeasure
)
```

## Public methods

### getSupportedDataTypesMeasure

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/health#1.0.0)

```
public final @NonNull Set<@NonNull DeltaDataType<@NonNull ?, @NonNull ?>> getSupportedDataTypesMeasure()
```

Set of supported `https://developer.android.com/reference/androidx/health/services/client/data/DataType`s for measure capture on this device.

Some data types are not available for measurement; this is typically used to measure health data (e.g. HR).

### toString

```
public @NonNull String toString()
```