getEnergySummary

abstract fun getEnergySummary(daysBack: Int): Flowable<Container<EnergySummary>>

Returns Flowable that emits container with energy summary for day daysBack ago.

Return

Flowable that emits container with energy summary for day daysBack ago.

See also

Parameters

daysBack

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


abstract fun getEnergySummary(from: Long, to: Long): Flowable<List<Container<EnergySummary>>>

Returns Flowable that emits list of containers with energy summaries for period from from to to.

Return

Flowable that emits list of containers with energy summaries

See also

Parameters

from

minimum UNIX-timestamp of energy summary

to

maximum UNIX-timestamp of energy summary