# buildRoomOptions function 参考 (/zh-CN/api-reference/whiteboard/whiteboard-sdk/harmonyos/class-build-room-options) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ## 详细描述 [#详细描述] 适用版本:**@shengwang/whiteboard 0.2.11**。 将 WhiteboardOptions 映射为 Bridge 入房参数的辅助函数;本身不发起入房。 可从 @shengwang/whiteboard 直接导入 buildRoomOptions。导入后作为函数调用。 ## 类型结构(源码声明) [#类型结构源码声明] 下方源码文件的 export 声明不等同于 SDK 包入口导出;业务导入方式以上方说明为准。 ```text buildRoomOptions(options: WhiteboardOptions): RoomOptions ```