# 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).

<a id="details"></a>

## 详细描述 [#详细描述]

适用版本：**@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",` |

## 变量说明 [#变量说明]

<a id="ac999eab92c785a036a785e6963cc5d71"></a>

### CONNECTING [#connecting]

```text
CONNECTING = "connecting",
```

连接中

<a id="ad960f49b4ead54fdc689292f7f9a485d"></a>

### CONNECTED [#connected]

```text
CONNECTED = "connected",
```

已连接

<a id="adc44096f1ac25d34c0837c9b12c0eee0"></a>

### RECONNECTING [#reconnecting]

```text
RECONNECTING = "reconnecting",
```

正在重连

<a id="afeb8f08165cb3c57c5b94c4559e014b4"></a>

### DISCONNECTING [#disconnecting]

```text
DISCONNECTING = "disconnecting",
```

正在断开连接

<a id="af1f1a4317adcd0467f0f2c38f20ccc9d"></a>

### DISCONNECTED [#disconnected]

```text
DISCONNECTED = "disconnected",
```

已经断开连接
