Healthplatform > healthstack.healthdata.link.healthplatform > HealthPlatformAdapter

HealthPlatformAdapter

[androidJvm]
class HealthPlatformAdapter(healthDataClient: HealthDataClient, healthDataTypeNames: List<String>) : HealthDataLink

Constructors

HealthPlatformAdapter

[androidJvm]
fun HealthPlatformAdapter(healthDataClient: HealthDataClient, healthDataTypeNames: List<String>)

Types

Name Summary
Companion

[androidJvm]
object Companion

Functions

Name Summary
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

hasPermissions

[androidJvm]
suspend fun hasPermissions(permissions: Set<Permission>): Boolean

isIntervalData

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

requestPermissions

[androidJvm]
open suspend override fun requestPermissions()