# RoomPhase enum 参考 (/zh-CN/api-reference/whiteboard/whiteboard-sdk/harmonyos/enum-room-phase) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ## 详细描述 [#详细描述] 适用版本:**@shengwang/whiteboard 0.2.11**。 房间连接阶段枚举。 可从 @shengwang/whiteboard 直接导入 RoomPhase。导入后可访问枚举成员。 ## 类型结构(源码声明) [#类型结构源码声明] 下方源码文件的 export 声明不等同于 SDK 包入口导出;业务导入方式以上方说明为准。 ```text export enum RoomPhase ``` | [CONNECTING](/zh-CN/api-reference/whiteboard/whiteboard-sdk/harmonyos/enum-room-phase#ac999eab92c785a036a785e6963cc5d71) | `CONNECTING = "connecting",` | | --- | --- | | [CONNECTED](/zh-CN/api-reference/whiteboard/whiteboard-sdk/harmonyos/enum-room-phase#ad960f49b4ead54fdc689292f7f9a485d) | `CONNECTED = "connected",` | | [RECONNECTING](/zh-CN/api-reference/whiteboard/whiteboard-sdk/harmonyos/enum-room-phase#adc44096f1ac25d34c0837c9b12c0eee0) | `RECONNECTING = "reconnecting",` | | [DISCONNECTING](/zh-CN/api-reference/whiteboard/whiteboard-sdk/harmonyos/enum-room-phase#afeb8f08165cb3c57c5b94c4559e014b4) | `DISCONNECTING = "disconnecting",` | | [DISCONNECTED](/zh-CN/api-reference/whiteboard/whiteboard-sdk/harmonyos/enum-room-phase#af1f1a4317adcd0467f0f2c38f20ccc9d) | `DISCONNECTED = "disconnected",` | ## 变量说明 [#变量说明] ### CONNECTING [#connecting] ```text CONNECTING = "connecting", ``` 连接中 ### CONNECTED [#connected] ```text CONNECTED = "connected", ``` 已连接 ### RECONNECTING [#reconnecting] ```text RECONNECTING = "reconnecting", ``` 正在重连 ### DISCONNECTING [#disconnecting] ```text DISCONNECTING = "disconnecting", ``` 正在断开连接 ### DISCONNECTED [#disconnected] ```text DISCONNECTED = "disconnected", ``` 已经断开连接