提交 a9d807ae 编写于 作者: M mali

Uniform naming of data samples

Signed-off-by: Nmali <mali81@huawei.com>
上级 dc20c03b
...@@ -329,7 +329,7 @@ createPreviewOutput(profile: Profile, surfaceId: string): PreviewOutput ...@@ -329,7 +329,7 @@ createPreviewOutput(profile: Profile, surfaceId: string): PreviewOutput
**示例:** **示例:**
```js ```js
let profile = cameraoutputcapability.previewProfiles[0]; let profile = cameraOutputCapability.previewProfiles[0];
let previewOutput; let previewOutput;
try { try {
previewOutput = cameraManager.createPreviewOutput(profile, surfaceId); previewOutput = cameraManager.createPreviewOutput(profile, surfaceId);
...@@ -363,7 +363,7 @@ createPhotoOutput(profile: Profile, surfaceId: string): PhotoOutput ...@@ -363,7 +363,7 @@ createPhotoOutput(profile: Profile, surfaceId: string): PhotoOutput
**示例:** **示例:**
```js ```js
let profile = cameraoutputcapability.photoProfiles[0]; let profile = cameraOutputCapability.photoProfiles[0];
let photoOutput; let photoOutput;
try { try {
photoOutput = cameraManager.createPhotoOutput(profile, surfaceId); photoOutput = cameraManager.createPhotoOutput(profile, surfaceId);
...@@ -397,7 +397,7 @@ createVideoOutput(profile: VideoProfile, surfaceId: string): VideoOutput ...@@ -397,7 +397,7 @@ createVideoOutput(profile: VideoProfile, surfaceId: string): VideoOutput
**示例:** **示例:**
```js ```js
let profile = cameraoutputcapability.videoProfiles[0]; let profile = cameraOutputCapability.videoProfiles[0];
let videoOutput; let videoOutput;
try { try {
videoOutput = cameraManager.createVideoOutput(profile, surfaceId); videoOutput = cameraManager.createVideoOutput(profile, surfaceId);
...@@ -430,7 +430,7 @@ createMetadataOutput(metadataObjectTypes:Array<MetadataObjectType\>): MetadataOu ...@@ -430,7 +430,7 @@ createMetadataOutput(metadataObjectTypes:Array<MetadataObjectType\>): MetadataOu
**示例:** **示例:**
```js ```js
let metadataObjectTypes = cameraoutputcapability.supportedMetadataObjectTypes; let metadataObjectTypes = cameraOutputCapability.supportedMetadataObjectTypes;
let metadataOutput; let metadataOutput;
try { try {
metadataOutput = cameraManager.createMetadataOutput(metadataObjectTypes); metadataOutput = cameraManager.createMetadataOutput(metadataObjectTypes);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册