Docs around pause/resume preview (#1623)

This commit is contained in:
jtweaver 2018-06-08 15:54:18 -05:00 committed by Sibelius Seraphini
parent 747bcf9030
commit bd582f4b02

View File

@ -424,6 +424,14 @@ The promise will be fulfilled with an object with some of the following properti
Should be called after recordAsync() to make the promise be fulfilled and get the video uri. Should be called after recordAsync() to make the promise be fulfilled and get the video uri.
#### `pausePreview: void`
Pauses the preview. The preview can be resumed again by using resumePreview().
#### `resumePreview: void`
Resumes the preview after pausePreview() has been called.
#### `Android` `getSupportedRatiosAsync(): Promise` #### `Android` `getSupportedRatiosAsync(): Promise`
Android only. Returns a promise. The promise will be fulfilled with an object with an array containing strings with all camera aspect ratios supported by the device. Android only. Returns a promise. The promise will be fulfilled with an object with an array containing strings with all camera aspect ratios supported by the device.