Constants representing different sleep stages, such as light sleep, deep sleep. For a
Session
with
type FitnessActivities.SLEEP
,
Sleep activities can be stored and read in sleep
segment
data type, for the same time range, to provide a a more detail breakdown
of a user's sleep stages in one sleep session.
Constant Summary
int | AWAKE | The user is in an awake period in the middle of sleep session. |
int | OUT_OF_BED | The user is out of their bed in the middle of a sleep session. |
int | SLEEP | The user is sleeping. |
int | SLEEP_DEEP | The user is in a deep sleep cycle. |
int | SLEEP_LIGHT | The user is in a light sleep cycle. |
int | SLEEP_REM | The user is in a REM sleep cycle. |
Inherited Method Summary
Constants
public static final int AWAKE
The user is in an awake period in the middle of sleep session.
public static final int OUT_OF_BED
The user is out of their bed in the middle of a sleep session.
public static final int SLEEP
The user is sleeping.
public static final int SLEEP_DEEP
The user is in a deep sleep cycle.
public static final int SLEEP_LIGHT
The user is in a light sleep cycle.
public static final int SLEEP_REM
The user is in a REM sleep cycle.