App-Support > healthstack.app.sync > SyncManager > HealthDataSyncSpec

HealthDataSyncSpec

[androidJvm]
data class HealthDataSyncSpec(val healthDataTypeString: String, val syncInterval: Long, val syncTimeUnit: TimeUnit)

A data class representing a specification for health data synchronization.

Constructors

HealthDataSyncSpec

[androidJvm]
fun HealthDataSyncSpec(healthDataTypeString: String, syncInterval: Long, syncTimeUnit: TimeUnit)

Properties

Name Summary
healthDataTypeString

[androidJvm]
val healthDataTypeString: String
The health data type to synchronize.

syncInterval

[androidJvm]
val syncInterval: Long
The synchronization interval.

syncTimeUnit

[androidJvm]
val syncTimeUnit: TimeUnit
The TimeUnit for the synchronization interval.