observeAccumulatedStressDuration

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

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

Return

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

Parameters

daysBack

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


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.

Return

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

Parameters

from

minimum UNIX-timestamp of stress data

to

maximum UNIX-timestamp of stress data