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

Companion

[androidJvm]
object Companion

Functions

Name Summary
getInstance

[androidJvm]
fun getInstance(): SyncManager
Returns the SyncManager instance.

initialize

[androidJvm]
fun initialize(context: Context, syncSpecs: List<SyncManager.HealthDataSyncSpec>)
Initializes the SyncManager instance with the given Context and list of HealthDataSyncSpecs.

Properties

Name Summary
HEALTH_DATA_TYPE_KEY

[androidJvm]
const val HEALTH_DATA_TYPE_KEY: String