Skip to content

Commit 942bc56

Browse files
committed
update readme for videorecording
1 parent a34b996 commit 942bc56

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ npm run demo.ng.android.device
9090
| **showToggleIcon** | boolean | If true the default camera toggle (front/back) icon button will show on the Camera Plus layout. Default is true. |
9191
| **showCaptureIcon** | boolean | If true the default capture (take picture) icon/button will show on the Camera Plus layout. Default is true. |
9292
| **showGalleryIcon** | boolean | If true the choose from gallery/library icon/button will show on the Camera Plus layout. Default is true. |
93+
| **enableVideo** | boolean | If true the CameraPlus instance can record video. |
9394

9495
## Android Only Properties
9596

@@ -118,6 +119,8 @@ npm run demo.ng.android.device
118119
| **chooseFromLibrary(opts?: IChooseOptions)** | Opens the device gallery (image library) for selecting images. |
119120
| **takePicture()** | Takes a picture of the current preview in the CameraPlus. |
120121
| **getFlashMode(): string** | Android: various strings possible: https://developer.android.com/reference/android/hardware/Camera.Parameters.html#getFlashMode() iOS: either 'on' or 'off' |
122+
| **record(opts?: IVideoOptions)** | Starts recording a video. |
123+
| **stop()** | Stops the video recording, when stopped the `videoRecordingReadyEvent` event will be emitted. |
121124

122125
## Android Only Public Methods
123126

0 commit comments

Comments
 (0)