Healthconnect > healthstack.healthdata.link.healthconnect > HealthConnectAdapter

HealthConnectAdapter

[androidJvm]
class HealthConnectAdapter(healthDataTypeNames: List<String>, healthConnectClient: HealthConnectClient) : HealthDataLink

Constructors

HealthConnectAdapter

[androidJvm]
fun HealthConnectAdapter(healthDataTypeNames: List<String>, healthConnectClient: HealthConnectClient)

Functions

Name Summary
createLauncher

[androidJvm]
fun createLauncher(context: ComponentActivity)

getChanges

[androidJvm]
open suspend override fun getChanges(token: String, healthDataTypeName: String): Change

getChangesToken

[androidJvm]
open suspend override fun getChangesToken(healthDataTypeName: String): String

getHealthData

[androidJvm]
open suspend override fun getHealthData(startTime: Instant, endTime: Instant, healthDataTypeName: String): HealthData

hasAllPermissions

[androidJvm]
open suspend override fun hasAllPermissions(): Boolean

isIntervalData

[androidJvm]
open override fun isIntervalData(healthDataName: String): Boolean

requestPermissions

[androidJvm]
open suspend override fun requestPermissions()