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

getEnergyData

abstract fun getEnergyData(daysBack: Int): Flowable<List<EnergyData>>

Returns Flowable that emits list 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 list of energy data for day daysBack ago

See Also

EnergyData

abstract fun getEnergyData(sinceTimestamp: Long): Flowable<List<EnergyData>>

Returns Flowable that emits list of energy data since specified time.

Parameters

sinceTimestamp - minimum UNIX-timestamp of energy data

Return
Flowable that emits list of energy data since specified time

See Also

EnergyData