public enum Sleep.SleepType extends Enum<Sleep.SleepType> implements ProtocolMessageEnumSleep type: classic or stages.
Protobuf enum google.devicesandservices.health.v4.Sleep.SleepType
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
CLASSIC |
Classic sleep is a sleep with 3 stages types: AWAKE, RESTLESS and ASLEEP. |
CLASSIC_VALUE |
Classic sleep is a sleep with 3 stages types: AWAKE, RESTLESS and ASLEEP. |
SLEEP_TYPE_UNSPECIFIED |
Sleep type is unspecified. |
SLEEP_TYPE_UNSPECIFIED_VALUE |
Sleep type is unspecified. |
STAGES |
On top of "classic" sleep stages an additional processing pass can calculate stages more precisely, overwriting the prior stages with AWAKE, LIGHT, REM and DEEP. |
STAGES_VALUE |
On top of "classic" sleep stages an additional processing pass can calculate stages more precisely, overwriting the prior stages with AWAKE, LIGHT, REM and DEEP. |
UNRECOGNIZED |
|
Static Methods |
|
|---|---|
| Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
|
Methods |
|
|---|---|
| Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |
|