未验证 提交 b287227c 编写于 作者: O openharmony_ci 提交者: Gitee

!9617 【轻量级 PR】:【OpenHarmony开源贡献者计划2022】 change survaceId to surfaceId

Merge pull request !9617 from Tangwenhao1227/N/A
...@@ -631,7 +631,7 @@ Creates a **PreviewOutput** instance. This API uses a promise to return the resu ...@@ -631,7 +631,7 @@ Creates a **PreviewOutput** instance. This API uses a promise to return the resu
**Example** **Example**
```js ```js
cameraManager.createPreviewOutput(profile, survaceId).then((previewoutput) => { cameraManager.createPreviewOutput(profile, surfaceId).then((previewoutput) => {
console.log('Promise returned with previewOutput created.'); console.log('Promise returned with previewOutput created.');
}) })
``` ```
......
...@@ -631,7 +631,7 @@ createPreviewOutput(profile: Profile, surfaceId: string): Promise<PreviewOutput\ ...@@ -631,7 +631,7 @@ createPreviewOutput(profile: Profile, surfaceId: string): Promise<PreviewOutput\
**示例:** **示例:**
```js ```js
cameraManager.createPreviewOutput(profile, survaceId).then((previewoutput) => { cameraManager.createPreviewOutput(profile, surfaceId).then((previewoutput) => {
console.log('Promise returned with previewOutput created.'); console.log('Promise returned with previewOutput created.');
}) })
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册