# PassiveMonitoringUpdate

# PassiveMonitoringUpdate

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/PassiveMonitoringUpdate.kt+class:androidx.health.services.client.data.PassiveMonitoringUpdate)  
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/data/PassiveMonitoringUpdate "View this page in Java")

<br />

```
class PassiveMonitoringUpdate
```

<br />

*** ** * ** ***

Represents an update from Passive tracking.

Provides[DataPoint](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataPoint)s associated with the Passive tracking, in addition to data related to the user's[UserActivityState](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/UserActivityState).

## Summary

|                                                                                                                                                                                                                                                                                                                  ### Public constructors                                                                                                                                                                                                                                                                                                                  |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [PassiveMonitoringUpdate](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/PassiveMonitoringUpdate#PassiveMonitoringUpdate(androidx.health.services.client.data.DataPointContainer,kotlin.collections.List))`(` ` dataPoints: `[DataPointContainer](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataPointContainer)`,` ` userActivityInfoUpdates: `[List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)`<`[UserActivityInfo](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/UserActivityInfo)`>` `)` |

|                                   ### Public functions                                   |
|------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------|
| `open `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) | [toString](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/PassiveMonitoringUpdate#toString())`()` |

|                                                                                                  ### Public properties                                                                                                  |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [DataPointContainer](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataPointContainer)                                                                                            | [dataPoints](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/PassiveMonitoringUpdate#dataPoints()) List of[DataPoint](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataPoint)s from Passive tracking.                                               |
| [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)`<`[UserActivityInfo](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/UserActivityInfo)`>` | [userActivityInfoUpdates](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/PassiveMonitoringUpdate#userActivityInfoUpdates()) The[UserActivityInfo](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/UserActivityInfo)of the user from Passive tracking. |

## Public constructors

### PassiveMonitoringUpdate

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

```
PassiveMonitoringUpdate(
    dataPoints: DataPointContainer,
    userActivityInfoUpdates: List<UserActivityInfo>
)
```  

## Public functions

### toString

```
open fun toString(): String
```  

## Public properties

### dataPoints

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

```
val dataPoints: DataPointContainer
```

List of[DataPoint](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataPoint)s from Passive tracking.  

### userActivityInfoUpdates

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

```
val userActivityInfoUpdates: List<UserActivityInfo>
```

The[UserActivityInfo](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/UserActivityInfo)of the user from Passive tracking.