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

observeLastWeight

abstract fun observeLastWeight(from: Timestamp = 0L, to: Timestamp = Timestamp.MAX_VALUE): Flowable<HDWeight>

Returns Flowable that emits last non deleted weight.

Period of adding weight can be specified by from and/or to. By default weight will be selected from all weights.

Parameters

from - weight must be added after this UNIX timestamp

to - weight must be before after this UNIX timestamp

Return
Flowable that emits last non deleted weight

See Also

HDWeight.isEmpty