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


abstract fun getUpdatedWeights(from: Long = 0L, exceptSource: Source, asc: Boolean = true): Single<List<HDWeight>>

Returns Single that emits non deleted weights sorted by HDWeight.measurementTime.

NOTE: only synchronized with server weights (that is, which HDWeight.id is not null) emits.


from - timestamp in milliseconds of minimum HDWeight.lastUpdate that is, which have changed since

exceptSource - this source would be excluded from result

asc - true for ascending ordering or false for descending. Default: ascending

Single that emits sorted non deleted weights