# HealthServicesClient

# HealthServicesClient

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/HealthServicesClient.kt+class:androidx.health.services.client.HealthServicesClient)  
Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/health#1.0.0)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/health/services/client/HealthServicesClient "View this page in Java")

<br />

```
interface HealthServicesClient
```

<br />

*** ** * ** ***

Client which provides a way to subscribe to the health data of a device, in the background or in the foreground.

## Summary

|                                                       ### Public properties                                                       |
|-----------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ExerciseClient](https://developer.android.com/reference/kotlin/androidx/health/services/client/ExerciseClient)                   | [exerciseClient](https://developer.android.com/reference/kotlin/androidx/health/services/client/HealthServicesClient#exerciseClient()) Returns a[ExerciseClient](https://developer.android.com/reference/kotlin/androidx/health/services/client/ExerciseClient).                                     |
| [MeasureClient](https://developer.android.com/reference/kotlin/androidx/health/services/client/MeasureClient)                     | [measureClient](https://developer.android.com/reference/kotlin/androidx/health/services/client/HealthServicesClient#measureClient()) Returns a[MeasureClient](https://developer.android.com/reference/kotlin/androidx/health/services/client/MeasureClient).                                         |
| [PassiveMonitoringClient](https://developer.android.com/reference/kotlin/androidx/health/services/client/PassiveMonitoringClient) | [passiveMonitoringClient](https://developer.android.com/reference/kotlin/androidx/health/services/client/HealthServicesClient#passiveMonitoringClient()) Returns a[PassiveMonitoringClient](https://developer.android.com/reference/kotlin/androidx/health/services/client/PassiveMonitoringClient). |

## Public properties

### exerciseClient

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

```
val exerciseClient: ExerciseClient
```

Returns a[ExerciseClient](https://developer.android.com/reference/kotlin/androidx/health/services/client/ExerciseClient).  

### measureClient

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

```
val measureClient: MeasureClient
```

Returns a[MeasureClient](https://developer.android.com/reference/kotlin/androidx/health/services/client/MeasureClient).  

### passiveMonitoringClient

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

```
val passiveMonitoringClient: PassiveMonitoringClient
```

Returns a[PassiveMonitoringClient](https://developer.android.com/reference/kotlin/androidx/health/services/client/PassiveMonitoringClient).