|
|
|
@ -25,6 +25,7 @@ or `CameraOptions.supports(Control)` to see if it is supported. |
|
|
|
|
app:cameraFlash="off|on|auto|torch" |
|
|
|
|
app:cameraWhiteBalance="auto|incandescent|fluorescent|daylight|cloudy" |
|
|
|
|
app:cameraHdr="off|on" |
|
|
|
|
app:cameraPictureFormat="jpeg|dng" |
|
|
|
|
app:cameraAudio="on|off|mono|stereo" |
|
|
|
|
app:cameraAudioBitRate="0" |
|
|
|
|
app:cameraVideoCodec="deviceDefault|h263|h264" |
|
|
|
@ -100,6 +101,19 @@ cameraView.setHdr(Hdr.OFF); |
|
|
|
|
cameraView.setHdr(Hdr.ON); |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
##### cameraPictureFormat |
|
|
|
|
|
|
|
|
|
The format for pictures taken with `takePicture()`. Does not apply to picture snapshots taken |
|
|
|
|
with `takePictureSnapshot()`. The `JPEG` value is always supported, while for other values |
|
|
|
|
support might change depending on the engine and the device sensor. |
|
|
|
|
|
|
|
|
|
The available values are exposed through the `CameraOptions` object. |
|
|
|
|
|
|
|
|
|
```java |
|
|
|
|
cameraView.setPictureFormat(PictureFormat.JPEG); |
|
|
|
|
cameraView.setPictureFormat(PictureFormat.DNG); |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
##### cameraAudio |
|
|
|
|
|
|
|
|
|
Turns on or off audio stream while recording videos. |
|
|
|
|