Interface > healthstack.healthdata.link > HealthDataLink > getHealthData

getHealthData

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

A method reading health data.

It reads health data generated between startTime and endTime.

Return

HealthData

Parameters

androidJvm

startTime Start point of time range
endTime End point of time range
healthDataTypeName Type of health data to read.