未验证 提交 ac558126 编写于 作者: Z Zhangzi 提交者: Gitee

update zh-cn/device-dev/driver/driver-peripherals-camera-des.md.

.idl文件修改
Signed-off-by: NZhangzi <zhangjiaxiang7@huawei.com>
上级 9ed0e30d
......@@ -47,7 +47,7 @@ Camera模块主要用以相机预览、拍照、视频流等场景下对相机
### 接口说明<a name="6"></a>
- icamera_device.h
- icamera_device.idl
| 功能描述 | 接口名称 |
| ---------------------------- | ------------------------------------------------------------ |
......@@ -59,7 +59,7 @@ Camera模块主要用以相机预览、拍照、视频流等场景下对相机
| 禁止具体的ResultMeta | CamRetCode DisableResult(const std::vector<MetaType> &results) |
| 关闭Camera设备 | void Close() |
- icamera_device_callback.h
- icamera_device_callback.idl
| 功能描述 | 接口名称 |
| ---------------------------------------------------------- | ------------------------------------------------------------ |
......@@ -67,7 +67,7 @@ Camera模块主要用以相机预览、拍照、视频流等场景下对相机
| 上报camera设备相关的metadata的回调 | void OnResult(uint64_t timestamp, const std::shared_ptr<CameraMetadata> &result) |
- icamera_host.h
- icamera_host.idl
| 功能描述 | 接口名称 |
| ------------------------------ | ------------------------------------------------------------ |
......@@ -77,14 +77,14 @@ Camera模块主要用以相机预览、拍照、视频流等场景下对相机
| 打开Camera设备 | CamRetCode OpenCamera(const std::string &cameraId,<br>const OHOS::sptr<ICameraDeviceCallback> &callback,<br>OHOS::sptr<ICameraDevice> &device) |
| 打开或关闭闪光灯 | CamRetCode SetFlashlight(const std::string &cameraId, bool &isEnable) |
- icamera_host_callback.h
- icamera_host_callback.idl
| 功能描述 | 接口名称 |
| ---------------------- | ------------------------------------------------------------ |
| Camera设备状态变化上报 | void OnCameraStatus(const std::string &cameraId, CameraStatus status) |
| 闪光灯状态变化回调 | void OnFlashlightStatus(const std::string &cameraId, FlashlightStatus status) |
- ioffline_stream_operator.h
- ioffline_stream_operator.idl
| 功能描述 | 接口名称 |
| -------------- | ------------------------------------------------------------ |
......@@ -92,7 +92,7 @@ Camera模块主要用以相机预览、拍照、视频流等场景下对相机
| 释放流 | CamRetCode ReleaseStreams(const std::vector<int> &streamIds) |
| 释放所有离线流 | CamRetCode Release() |
- istream_operator.h
- istream_operator.idl
| 功能描述 | 接口名称 |
| -------------------------------- | ------------------------------------------------------------ |
......@@ -107,7 +107,7 @@ Camera模块主要用以相机预览、拍照、视频流等场景下对相机
| 取消捕获 | CamRetCode CancelCapture(int captureId) |
| 将指定流转换成离线流 | CamRetCode ChangeToOfflineStream(const std::vector<int> &streamIds,<br>OHOS::sptr<IStreamOperatorCallback> &callback,<br>OHOS::sptr<IOfflineStreamOperator> &offlineOperator) |
- istream_operator_callback.h
- istream_operator_callback.idl
| 功能描述 | 接口名称 |
| ---------------------------------------- | ------------------------------------------------------------ |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册