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

getWeightLastTimestamp

abstract fun getWeightLastTimestamp(source: Source? = null): Single<Timestamp>

Return Single that emits last HDWeight.measurementTime or 0 as UNIX timestamp.

0 will be emitted if there is no weights yet.

Parameters

source - find weight only from the source (null for all sources)

Return
Single that emits last HDWeight.measurementTime or 0 as UNIX timestamp