mirror of
https://github.com/status-im/react-native-camera.git
synced 2025-02-24 09:48:17 +00:00
Docs around pause/resume preview (#1623)
This commit is contained in:
parent
747bcf9030
commit
bd582f4b02
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user