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

getNonDeletedWeights

abstract fun getNonDeletedWeights(from: Timestamp = 0L, to: Long = Timestamp.MAX_VALUE, exceptSource: Source, asc: Boolean = true): Single<List<HDWeight>>

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

Parameters

from - minimum UNIX-timestamp of HDWeight.measurementTime

to - maximum UNIX-timestamp of HDWeight.measurementTime

exceptSource - this source would be excluded from result

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

Return
Single that emits sorted non deleted weights