|
static synchronized BiorhythmCoach | getInstance (SensePlatform sensePlatform) |
|
|
static String | name = TYPE.BIORHYTHM.name() |
|
static String | TAG = "Coach" |
|
|
| Coach (String name, SensePlatform sensePlatform, AIM aiModule, Coach.TYPE coach_type) |
|
void | handleRequirementsUpdate () |
|
List< AIMBase > | submodules = new ArrayList<AIMBase>() |
|
TYPE | coach_type |
|
boolean | requirementsAreUpdated = false |
|
BIORHYTHM_TYPE nl.sense_os.cortex.coaching.BiorhythmCoach.getBiorhythmType |
( |
| ) |
|
Get the biorhythm type of the user
- Returns
- The BIORHYTHM_TYPE of the user
double nl.sense_os.cortex.coaching.BiorhythmCoach.getToBedTime |
( |
| ) |
|
Get the to bed time of the user based on the initialization sleep times of the BiorhythmCoach.
If the BiorhythmCoach has not yet been initialized, the default wake up value 7 will be returned.
- Returns
- The to bed time in hours
double nl.sense_os.cortex.coaching.BiorhythmCoach.getWakeUpTime |
( |
| ) |
|
Get the wake up time of the user based on the initialization sleep times of the BiorhythmCoach.
If the BiorhythmCoach has not yet been initialized, the default wake up value 7 will be returned.
- Returns
- The to bed time in hours
boolean nl.sense_os.cortex.coaching.BiorhythmCoach.manualInitialization |
( |
double |
toBedTime, |
|
|
double |
wakeUpTime |
|
) |
| |
Initialize with sleep values
Initialize the coach with the normal sleep to bed hour and out bed hour.
- Parameters
-
toBedTime | The normal to bed hour |
wakeUpTime | The normal wake up hour |
- Returns
- True if the initialization succeeds.
boolean nl.sense_os.cortex.coaching.BiorhythmCoach.personalInitialization |
( |
| ) |
|
Initialize with calibration values
Initialize the coach with the calibrated sleep time values.
- Returns
- True if the initialization succeeds, false if the CalibrationCoach does not have the baseline values
The documentation for this class was generated from the following file:
- android-sdk/src/nl/sense_os/cortex/coaching/BiorhythmCoach.java