You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,6 +90,7 @@ npm run demo.ng.android.device
90
90
|**showToggleIcon**| boolean | If true the default camera toggle (front/back) icon button will show on the Camera Plus layout. Default is true. |
91
91
|**showCaptureIcon**| boolean | If true the default capture (take picture) icon/button will show on the Camera Plus layout. Default is true. |
92
92
|**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. |
93
94
94
95
## Android Only Properties
95
96
@@ -118,6 +119,8 @@ npm run demo.ng.android.device
118
119
|**chooseFromLibrary(opts?: IChooseOptions)**| Opens the device gallery (image library) for selecting images. |
119
120
|**takePicture()**| Takes a picture of the current preview in the CameraPlus. |
120
121
|**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. |
0 commit comments