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

!9580 【轻量级 PR】:【OpenHarmony开源贡献者计划2022】update zh-cn/application-dev/media/camera.md.

Merge pull request !9580 from weiyu/N/A
......@@ -347,8 +347,8 @@ await captureSession.start().then(() => {
```js
let settings = {
quality: camera.QualityLevel.QUALITY_LEVEL_HIGH //设置图片质量高
rotation: camera.ImageRotation.ROTATION_0, //设置图片旋转角度0
quality: camera.QualityLevel.QUALITY_LEVEL_HIGH, //设置图片质量高
rotation: camera.ImageRotation.ROTATION_0 //设置图片旋转角度0
}
//使用当前拍照设置进行拍照
photoOutput.capture(settings, (err) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册