diff --git a/en/application-dev/reference/apis/js-apis-camera.md b/en/application-dev/reference/apis/js-apis-camera.md index f9c55898029eee1a6782df976cfd40ec43574735..8201cf724a1f92e0618b8a159d271509fa0cb9c2 100644 --- a/en/application-dev/reference/apis/js-apis-camera.md +++ b/en/application-dev/reference/apis/js-apis-camera.md @@ -3545,7 +3545,7 @@ previewOutput.stop((err) => { console.error(`Failed to stop the previewOutput. ${err.message}`); return; } - console.log('Callback returned with previewOutput stoped.'); + console.log('Callback returned with previewOutput stopped.'); }) ``` @@ -3567,7 +3567,7 @@ Stops outputting preview streams. This API uses a promise to return the result. ```js previewOutput.stop().then(() => { - console.log('Callback returned with previewOutput stoped.'); + console.log('Callback returned with previewOutput stopped.'); }) ``` @@ -4476,7 +4476,7 @@ metadataOutput.stop((err) => { console.error(`Failed to stop the metadataOutput. ${err.message}`); return; } - console.log('Callback returned with metadataOutput stoped.'); + console.log('Callback returned with metadataOutput stopped.'); }) ``` @@ -4498,7 +4498,7 @@ Stops outputting metadata. This API uses a promise to return the result. ```js metadataOutput.stop().then(() => { - console.log('Callback returned with metadataOutput stoped.'); + console.log('Callback returned with metadataOutput stopped.'); }) ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-camera.md b/zh-cn/application-dev/reference/apis/js-apis-camera.md index c5bfbb5b4e0447b82999ce68f678d7c5c3d81d2e..ee48ac9760c6ae958ca783f295847dab18029771 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-camera.md +++ b/zh-cn/application-dev/reference/apis/js-apis-camera.md @@ -3545,7 +3545,7 @@ previewOutput.stop((err) => { console.error(`Failed to stop the previewOutput. ${err.message}`); return; } - console.log('Callback returned with previewOutput stoped.'); + console.log('Callback returned with previewOutput stopped.'); }) ``` @@ -3567,7 +3567,7 @@ stop(): Promise ```js previewOutput.stop().then(() => { - console.log('Callback returned with previewOutput stoped.'); + console.log('Callback returned with previewOutput stopped.'); }) ``` @@ -4476,7 +4476,7 @@ metadataOutput.stop((err) => { console.error(`Failed to stop the metadataOutput. ${err.message}`); return; } - console.log('Callback returned with metadataOutput stoped.'); + console.log('Callback returned with metadataOutput stopped.'); }) ``` @@ -4498,7 +4498,7 @@ stop(): Promise ```js metadataOutput.stop().then(() => { - console.log('Callback returned with metadataOutput stoped.'); + console.log('Callback returned with metadataOutput stopped.'); }) ```