getEnergyData

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

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

Return

Flowable that emits list of energy data 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 getEnergyData(sinceTimestamp: Long): Flowable<List<EnergyData>>

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

Return

Flowable that emits list of energy data since specified time

See also

Parameters

sinceTimestamp

minimum UNIX-timestamp of energy data