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 f8f0d931903a0f63b8d20c39a9f9387e84902331..0a80384628c5b4152a740f710ab52cd1065893e8 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 | 功能描述 | 接口名称 | | ---------------------------------------- | ------------------------------------------------------------ |