Commit 2838a031 authored by huaxiang's avatar huaxiang

Update README.md

parent 4f02d736
...@@ -39,6 +39,33 @@ function onMessage() { ...@@ -39,6 +39,33 @@ function onMessage() {
// code... // code...
} }
``` ```
camera 回参
```
interface TakePictureResponse {
width: number;
height: number;
uri: string;
base64?: string;
exif?: { [name: string]: any };
pictureOrientation: number;
deviceOrientation: number;
}
```
record 回参
```
interface RecordResponse {
/** Path to the video saved on your app's cache directory. */
uri: string;
videoOrientation: number;
deviceOrientation: number;
isRecordingInterrupted: boolean;
/** iOS only */
codec: VideoCodec[keyof VideoCodec];
}
```
### 安卓打包 ### 安卓打包
android 文件下设置 local.properties 文件, 内容如下, sdk.dir 为 sdk 文件位置 android 文件下设置 local.properties 文件, 内容如下, sdk.dir 为 sdk 文件位置
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment