Health Data
Interface for retrieving measurements.
HealthData accumulate data from wristband and server at local database.
Properties
Returns Flowable that emits current stress state.
Returns Flowable that emits UNIX-timestamp of last energy data.
Returns Flowable that emits current hydration state.
Returns Flowable that emits UNIX-timestamp of last stress data.
Functions
Add new weight goal.
Add new weights and skip all already existed weights.
Delete existing weight.
Returns Flowable that emits summary for day daysBack
ago.
Returns Flowable that emits list of blood pressure measurements for day daysBack
ago.
Returns Single that emits deleted weights sorted by HDWeight.measurementTime.
Returns Flowable that emits list of energy data for day daysBack
ago.
Returns Flowable that emits list of energy data since specified time.
Returns Flowable that emits container with energy summary for day daysBack
ago.
Returns Flowable that emits list of containers with energy summaries for period from from
to to
.
Returns Flowable that emits list of dates of energy summaries for period from from
to to
.
Returns Flowable that emits list of finalized meals (which won't be changed) since specified time.
Returns Flowable that emits list of heart data for day daysBack
ago.
Returns Flowable that emits list of heart data since specified time.
Returns Flowable that emits list of heart data for period from from
to to
.
Returns Flowable that emits container with heart summary for day daysBack
ago.
Returns Flowable that emits container with hydration summary for day daysBack
ago.
Returns Single that emits maximum stress value for day daysBack
ago.
Returns Single that emits minimum stress value for day daysBack
ago.
Returns Flowable that emits UNIX timestamp of the first measurements since specified time.
Returns Flowable that emits container with neuroactivity summary for day daysBack
ago.
Returns Flowable that emits list of meals for day daysBack
ago.
Returns Flowable that emits list of meals for period from from
to to
.
Returns Flowable that emits list of steps data since specified time.
Returns Flowable that emits list of stress data for day daysBack
ago.
Returns Flowable that emits list of stress data for period from from
to to
.
Returns Flowable that emits container with stress summary for day daysBack
ago.
Returns Flowable that emits duration in minutes of specified stress level for day daysBack
ago.
Returns Flowable that emits duration in minutes of specified stress level for period from from
to to
.
Return Single that emits last HDWeight.measurementTime or 0 as UNIX timestamp.
Returns Flowable that emits duration of accumulated stress (stress above normal) in minutes for specified period.
Returns Flowable that emits duration of current stress state.
Returns Observable that emits information of current heart rate.
Returns Flowable that emits list of hydration data for day daysBack
ago.
Returns Flowable that emits UNIX-timestamp of last hydration data.
Returns Flowable that emits last hydration data.
Returns Flowable that emits last non deleted weight.
Returns Flowable that emits last weight goal.
Returns Flowable that emits maximum pulse for day daysBack
ago.
Returns Flowable that emits minimum pulse for day daysBack
ago.
Returns Flowable that emits nutrients for day daysBack
ago.
Returns Flowable that emits weight goals sorted descending.
Returns Flowable that emits non deleted weights sorted by HDWeight.measurementTime.
Returns Flowable that emits wearing duration in seconds for day daysBack
ago.
Returns Flowable that emits wearing duration in seconds for period from from
to to
.
Update existing weight.
Update weight goal status.
Extensions
RxJava2 neuroactivity interface getter for HealthData.
Coroutines & Flow neuroactivity interface getter for HealthData.
RxJava2 sleep data interface getter for HealthData.