|
static synchronized JetLagCoach | getInstance (SensePlatform sensePlatform) |
|
|
static String | name = TYPE.JETLAG.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 |
|
boolean nl.sense_os.cortex.coaching.JetLagCoach.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.JetLagCoach.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
void nl.sense_os.cortex.coaching.JetLagCoach.setNewTimeZone |
( |
String |
timeZoneId, |
|
|
int |
offset, |
|
|
double |
date |
|
) |
| |
Set a new Time Zone
- Parameters
-
timeZoneId | The string representation of the Time Zone id (e.g. Europe/Amsterdam) |
offset | The offset of the time zone in seconds (e.g. GMT-1 = -3600) |
date | The epoch time corresponding to this time zone change. |
The documentation for this class was generated from the following file:
- android-sdk/src/nl/sense_os/cortex/coaching/JetLagCoach.java