提交 ae99bfaf 编写于 作者: M mali

Camera data captureSession case synchronization

Signed-off-by: Nmali <mali81@huawei.com>
上级 fcb8f2f9
......@@ -664,7 +664,7 @@ createCaptureSession(callback: AsyncCallback<CaptureSession\>): void
**示例:**
```js
cameraManager.createCaptureSession((err, capturesession) => {
cameraManager.createCaptureSession((err, captureSession) => {
if (err) {
console.error(`Failed to create captureSession. ${err.message}`);
return;
......@@ -690,7 +690,7 @@ createCaptureSession(): Promise<CaptureSession\>
**示例:**
```js
cameraManager.createCaptureSession().then((capturesession) => {
cameraManager.createCaptureSession().then((captureSession) => {
console.log('Promise returned with captureSession created.');
})
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册