From ac55812676467b20070e9bfb568fd26f8c3fb8e9 Mon Sep 17 00:00:00 2001 From: Zhangzi Date: Thu, 20 Oct 2022 07:33:55 +0000 Subject: [PATCH] =?UTF-8?q?update=20zh-cn/device-dev/driver/driver-periphe?= =?UTF-8?q?rals-camera-des.md.=20.idl=E6=96=87=E4=BB=B6=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Zhangzi --- .../driver/driver-peripherals-camera-des.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/zh-cn/device-dev/driver/driver-peripherals-camera-des.md b/zh-cn/device-dev/driver/driver-peripherals-camera-des.md index f8f0d93190..0a80384628 100755 --- a/zh-cn/device-dev/driver/driver-peripherals-camera-des.md +++ b/zh-cn/device-dev/driver/driver-peripherals-camera-des.md @@ -47,7 +47,7 @@ Camera模块主要用以相机预览、拍照、视频流等场景下对相机 ### 接口说明 -- icamera_device.h +- icamera_device.idl | 功能描述 | 接口名称 | | ---------------------------- | ------------------------------------------------------------ | @@ -59,7 +59,7 @@ Camera模块主要用以相机预览、拍照、视频流等场景下对相机 | 禁止具体的ResultMeta | CamRetCode DisableResult(const std::vector &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 &result) | -- icamera_host.h +- icamera_host.idl | 功能描述 | 接口名称 | | ------------------------------ | ------------------------------------------------------------ | @@ -77,14 +77,14 @@ Camera模块主要用以相机预览、拍照、视频流等场景下对相机 | 打开Camera设备 | CamRetCode OpenCamera(const std::string &cameraId,
const OHOS::sptr &callback,
OHOS::sptr &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 &streamIds) | | 释放所有离线流 | CamRetCode Release() | -- istream_operator.h +- istream_operator.idl | 功能描述 | 接口名称 | | -------------------------------- | ------------------------------------------------------------ | @@ -107,7 +107,7 @@ Camera模块主要用以相机预览、拍照、视频流等场景下对相机 | 取消捕获 | CamRetCode CancelCapture(int captureId) | | 将指定流转换成离线流 | CamRetCode ChangeToOfflineStream(const std::vector &streamIds,
OHOS::sptr &callback,
OHOS::sptr &offlineOperator) | -- istream_operator_callback.h +- istream_operator_callback.idl | 功能描述 | 接口名称 | | ---------------------------------------- | ------------------------------------------------------------ | -- GitLab