Skip to content

Commit

Permalink
Merge pull request react-native-camera#698 from colus001/master
Browse files Browse the repository at this point in the history
Add totalSeconds description in README.md
  • Loading branch information
npomfret authored May 10, 2017
2 parents c3525c4 + f783eb0 commit 8878954
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ Supported options:
- `location` This is the object returned from `navigator.geolocation.getCurrentPosition()` (React Native's geolocation polyfill). It will add GPS metadata to the image.
- `rotation` This will rotate the image by the number of degrees specified.
- `jpegQuality` (integer between 1 and 100) This property is used to compress the output jpeg file with 100% meaning no jpeg compression will be applied.
- `totalSeconds` This will limit video length by number of seconds specified. Only works in video capture mode.

The promise will be fulfilled with an object with some of the following properties:

Expand Down

0 comments on commit 8878954

Please sign in to comment.