1 {"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"state"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"languages":["swift"],"platforms":["iOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/iotbluetooth\/ibsleepstate\/state"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBSleepState\/state","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"状态,0:进入睡眠 1:浅层睡眠 2:深层睡眠 3:清醒 4:结束睡眠 7:未出睡最后一笔睡眠数据(资料上报结束标志) 9:出睡最后一笔睡眠数据(资料上报结束标志) 12:快速眼动 13:取消入睡通知(睡眠不足 60 分钟出睡上报状态) 14:结束小睡"}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"state"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"title":"state","roleHeading":"Instance Property","role":"symbol","symbolKind":"property","externalID":"s:12IOTBluetooth12IBSleepStateV5stateSivp","modules":[{"name":"IOTBluetooth"}]},"hierarchy":{"paths":[["doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBSleepState"]]},"references":{"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBSleepState/state":{"role":"symbol","title":"state","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"state"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"状态,0:进入睡眠 1:浅层睡眠 2:深层睡眠 3:清醒 4:结束睡眠 7:未出睡最后一笔睡眠数据(资料上报结束标志) 9:出睡最后一笔睡眠数据(资料上报结束标志) 12:快速眼动 13:取消入睡通知(睡眠不足 60 分钟出睡上报状态) 14:结束小睡"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBSleepState\/state","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibsleepstate\/state"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth":{"role":"collection","title":"IOTBluetooth","abstract":[],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBSleepState":{"role":"symbol","title":"IBSleepState","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"IBSleepState"}],"abstract":[{"type":"text","text":"睡眠状态"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBSleepState","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"IBSleepState"}],"url":"\/documentation\/iotbluetooth\/ibsleepstate"}}}