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

secondsOfWearing

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

Returns Flowable that emits wearing duration in seconds 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 wearing duration in seconds for day daysBack ago

abstract fun secondsOfWearing(from: Long, to: Long): Flowable<Int>

Returns Flowable that emits wearing duration in seconds for period from from to to.

Parameters

from - beginning of wearing duration period

to - end of wearing duration period

Return
Flowable that emits wearing duration in seconds