diff --git a/zh-cn/react-native-image-picker.md b/zh-cn/react-native-image-picker.md index f7f7400f4fe91c3f1f25f2e20b5a23b972c2b3a6..5f9c3121925a9c905aaabc1db4668fa3ef1de6c1 100644 --- a/zh-cn/react-native-image-picker.md +++ b/zh-cn/react-native-image-picker.md @@ -242,11 +242,18 @@ ohpm install | fileSize | The file size | number | yes | iOS Android | yes | | type | The file type | string | yes | iOS Android | yes | | fileName | The file name | string | yes | iOS Android | yes | -| duration | The selected video duration in seconds | number | no | iOS Android | yes | +| duration | The selected video duration in seconds | number | no | iOS Android | no | | bitrate | The average bitrate (in bits/sec) of the selected video, if available. (Android only) | number | no | Android | no | -| timestamp | Timestamp of the asset. Only included if 'includeExtra' is true | string | no | iOS Android | yes | +| timestamp | Timestamp of the asset. Only included if 'includeExtra' is true | string | no | iOS Android | no | | id | local identifier of the photo or video. On Android, this is the same as fileName | string | no | iOS Android | yes | +## 静态方法 + +| 名称 | 说明 | 类型 | 是否必填 | 原库平台 | 鸿蒙支持 | +| ------------------ | -------------------------------------- | -------- | -------- | --------------- | -------- | +| launchCamera | Launch camera to take photo or video. | function | yes | iOS Android Web | no | +| launchImageLibrary | Launch gallery to pick image or video. | function | yes | iOS Android Web | yes | + ## 遗留问题 - 只实现了选择图库的接口属性,相机功能暂未适配