getUpdatedWeights

abstract fun getUpdatedWeights(from: Long = 0, 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.

Return

Single that emits sorted non deleted weights

Parameters

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