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

getStressCount

abstract fun getStressCount(daysBack: Int): Single<Int>

Returns Single that emits count of stress data for day daysBack ago.

Parameters

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

Return
Single that emits count of stress data for day daysBack ago

See Also

StressData

abstract fun getStressCount(from: Long, to: Long): Single<Int>

Returns Single that emits count of stress data for period from from to to.

Parameters

from - minimum UNIX-timestamp of stress data

to - maximum UNIX-timestamp of stress data

Return
Single that emits count of stress data

See Also

StressData