diff --git a/README.md b/README.md index cbfec6a2..e34af7da 100644 --- a/README.md +++ b/README.md @@ -174,7 +174,7 @@ cameraView.setFacing(CameraKit.Constants.FACING_FRONT); - - - ### `ckFlash` -[`off`](#off) [`on`](#on) [`auto`](#auto) +[`off`](#off) [`on`](#on) [`auto`](#auto) [`torch`](#torch) #### `off` @@ -194,6 +194,11 @@ cameraView.setFlash(CameraKit.Constants.FLASH_ON); cameraView.setFlash(CameraKit.Constants.FLASH_AUTO); ``` +#### `torch` +```java +cameraView.setFlash(CameraKit.Constants.FLASH_TORCH); +``` + - - - ### `ckFocus` @@ -316,7 +321,7 @@ cameraView.setJpegQuality(100); - - - ### `ckVideoQuality` -[`max480p`](#max480p) [`max720p`](#max720p) [`max1080p`](#max1080p) [`max2160p`](#max2160p) [`highest`](#highest) [`lowest`](#lowest) +[`max480p`](#max480p) [`max720p`](#max720p) [`max1080p`](#max1080p) [`max2160p`](#max2160p) [`lowest`](#lowest) [`highest`](#highest) [`qvga`](#qvga) #### `max480p` @@ -354,6 +359,12 @@ cameraView.setVideoQuality(CameraKit.Constants.VIDEO_QUALITY_LOWEST); cameraView.setVideoQuality(CameraKit.Constants.VIDEO_QUALITY_HIGHEST); ``` +#### `qvga` + +```java +cameraView.setVideoQuality(CameraKit.Constants.VIDEO_QUALITY_QVGA); +``` + - - - ## Automatic Permissions Behavior diff --git a/camerakit/src/main/res/values/attrs.xml b/camerakit/src/main/res/values/attrs.xml index a23f4ecd..b079b74f 100644 --- a/camerakit/src/main/res/values/attrs.xml +++ b/camerakit/src/main/res/values/attrs.xml @@ -47,13 +47,13 @@ - +