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

getEnergyDataCount

abstract fun getEnergyDataCount(daysBack: Int): Flowable<Int>

Returns Flowable that emits count of energy data for day daysBack ago.

Parameters

daysBack - for how many days ago in relation to today information is needed (0 for today)

Return
Flowable that emits count of energy data for day daysBack ago

See Also

EnergyData

abstract fun getEnergyDataCount(sinceTimestamp: Long): Single<Int>

Returns Single that emits count of energy data since specified time.

Parameters

sinceTimestamp - minimum timestamp of energy data

Return
Single that emits count of energy data since specified time

See Also

EnergyData