Skip to content

Commit

Permalink
update RNcamera readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jameswangt23 committed Feb 27, 2020
1 parent 802ce47 commit 3f66aa5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/RNCamera.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,17 @@ By default a `Camera not authorized` message will be displayed when access to th

By default a <ActivityIndicator> will be displayed while the component is waiting for the user to grant/deny access to the camera, if set displays the passed react element instead of the default one.

#### `iOS` `rectOfInterest`
#### `rectOfInterest`

An `{x: , y:, width:, height: }` object which defines the rect of interst as normalized coordinates from `(0,0)` top left corner to `(1,1)` bottom right corner.

Note: Must also provide cameraViewDimensions prop for Android device

### `Android` `cameraViewDimensions`

An `{width:, height: }` object which defines the width and height of the cameraView. This prop is used to adjust the effect of Aspect Raio for rectOfInterest area on Android


### `iOS` `videoStabilizationMode`

The video stabilization mode used for a video recording. The possible values are:
Expand Down

0 comments on commit 3f66aa5

Please sign in to comment.