Google is committed to advancing racial equity for Black communities. See how.

SleepStages

public final class SleepStages extends Object

Constants representing different sleep stages, such as light sleep, deep sleep. For a Session with type 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.

Constant Value: 1

public static final int OUT_OF_BED

The user is out of their bed in the middle of a sleep session.

Constant Value: 3

public static final int SLEEP

The user is sleeping.

Constant Value: 2

public static final int SLEEP_DEEP

The user is in a deep sleep cycle.

Constant Value: 5

public static final int SLEEP_LIGHT

The user is in a light sleep cycle.

Constant Value: 4

public static final int SLEEP_REM

The user is in a REM sleep cycle.

Constant Value: 6