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

observeAccumulatedStressDuration

abstract fun observeAccumulatedStressDuration(daysBack: Int): Flowable<Int>

Returns Flowable that emits duration of accumulated stress (stress above normal) in minutes for specified period.

Parameters

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

Return
Flowable that emits duration of accumulated stress (stress above normal)

abstract fun observeAccumulatedStressDuration(from: Timestamp, to: Timestamp): Flowable<Int>

Returns Flowable that emits duration of accumulated stress (stress above normal) in minutes for specified period.

Parameters

from - minimum UNIX-timestamp of stress data

to - maximum UNIX-timestamp of stress data

Return
Flowable that emits duration of accumulated stress (stress above normal)