healbesdk / com.healbe.healbesdk.business_api.healthdata / HealthData / getHeartData

getHeartData

abstract fun getHeartData(daysBack: Int): Flowable<List<HeartData>>

Returns Flowable that emits list of heart data for day daysBack ago.

Parameters

daysBack - for how many days ago in relation to today information is needed (0 for today)

Return
Flowable that emits list of heart data for day daysBack ago

See Also

HeartData

abstract fun getHeartData(from: Long, to: Long): Flowable<List<HeartData>>

Returns Flowable that emits list of heart data for period from from to to.

Parameters

from - minimum UNIX-timestamp of heart data

to - maximum UNIX-timestamp of heart data

Return
Flowable that emits list of heart data

See Also

HeartData

abstract fun getHeartData(sinceTimestamp: Long): Flowable<List<HeartData>>

Returns Flowable that emits list of heart data since specified time.

Parameters

sinceTimestamp - minimum UNIX-timestamp of heart data

Return
Flowable that emits list of heart data since specified time

See Also

HeartData