EnergySummary

data class EnergySummary

Full summary about consumed and burned kcal, about activities and nutrients during one day.

Properties

Link copied to clipboard

amount of kcal burned by activities

Link copied to clipboard

time in minutes spend by the user for activities

Link copied to clipboard

amount of kcal spent by basal metabolism

Link copied to clipboard

time in minutes spent by the user for basal metabolism

Link copied to clipboard

distance in meters traveled by user

Link copied to clipboard

amount of kcal consumed

Link copied to clipboard

amount of burned kcal

Link copied to clipboard

Information about nutrients consumed during a day.

Link copied to clipboard

amount of kcal burned by routine activity

Link copied to clipboard

time in minutes spent by the user for routine activity

Link copied to clipboard

amount of kcal burned by running

Link copied to clipboard

time in minutes spent by the user for running

Link copied to clipboard

amount of kcal burned by sitting activity

Link copied to clipboard

time in minutes spent by the user for sitting activity

Link copied to clipboard
val steps: Int

steps count traveled by user

Link copied to clipboard
val timestamp: Timestamp

data is valid from day start to this UNIX-timestamp

Link copied to clipboard

amount of kcal burned by walking

Link copied to clipboard

time in minutes spent by the user for walking

Functions

Link copied to clipboard

Returns distance traveled by the user in specified units.

Link copied to clipboard
fun getWearingDuration(units: TimeUnit = TimeUnit.SECONDS): Long

Returns wearing duration in specified units. Default units: TimeUnit.SECONDS.