getHeartData

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

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

Return

Flowable that emits list of heart data for day daysBack ago

See also

Parameters

daysBack

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


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

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

Return

Flowable that emits list of heart data

See also

Parameters

from

minimum UNIX-timestamp of heart data

to

maximum UNIX-timestamp of heart data


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

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

Return

Flowable that emits list of heart data since specified time

See also

Parameters

sinceTimestamp

minimum UNIX-timestamp of heart data