ZRSleepData Class Reference

Inherits from ZRHealthData : NSObject
Declared in ZRHealthData.h

  activity

! The same state duration ,unit is minutes

@property (nonatomic, assign) int activity

Declared In

ZRHealthData.h

  sleep_enter

Here for the introduction of the concept of sleep data, each group of data contains such content, the first data sleepType 1, followed by a fixed effective sleep data (sleepType == 3 | sleepType == 4), and finally A data sleepType is 2 (that means the end of the normal, this sleep data is valid) or 5 (that this is a place data, for example, put the bracelet on the table, may produce such data, the algorithm that this is not valid Sleep data, which is disturbing information), some bracelet will produce sleepType == 6 data that awake, you can also use the interval between the two groups that awake sleep_enter : The start of the group is one minute, the date and start_time are the same sleep_exit : Similar to sleep_enter. mode : 2 or 5.

@property (nonatomic, assign) int sleep_enter

Declared In

ZRHealthData.h