# GlobalState class 参考 (/zh-CN/api-reference/whiteboard/whiteboard-sdk/harmonyos/class-global-state)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

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

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

适用版本：**@shengwang/whiteboard 0.2.11**。

房间公共全局状态。

可从 @shengwang/whiteboard 直接导入 GlobalState。

## 类型结构（源码声明） [#类型结构源码声明]

下方源码文件的 export 声明不等同于 SDK 包入口导出；业务导入方式以上方说明为准。

```text
export class GlobalState
```
