Update Readme.md

This commit is contained in:
Dmitriy Loktev 2015-08-29 14:29:10 +06:00
parent 4d5a8ba16b
commit 2f045eaece
1 changed files with 7 additions and 3 deletions

View File

@ -127,7 +127,7 @@ The type of capture that will be performed by the camera - either a still image
#### `captureTarget` #### `captureTarget`
Values: `Camera.constants.CaptureTarget.cameraRoll` (default), `Camera.constants.CaptureTarget.disk`, ~~`Camera.constants.CaptureTarget.memory`~~ (deprecated), Values: `Camera.constants.CaptureTarget.cameraRoll` (default), `Camera.constants.CaptureTarget.disk`, ~~`Camera.constants.CaptureTarget.memory`~~ (deprecated),
This property allows you to specify the target output of the captured image data. By default the image binary is sent back as a base 64 encoded string. The disk output has been shown to improve capture response time, so that is the recommended value. This property allows you to specify the target output of the captured image data. By default the image binary is sent back as a base 64 encoded string. The disk output has been shown to improve capture response time, so that is the recommended value.
@ -197,6 +197,7 @@ e: {
} }
``` ```
Will call when touch to focus has been made. Will call when touch to focus has been made.
By default, `onFocusChanged` is not defined and tap-to-focus is disabled.
#### `defaultOnFocusComponent` #### `defaultOnFocusComponent`
@ -204,7 +205,9 @@ Values:
`true` (default) `true` (default)
`false` `false`
#### `onFocusChanged` If `defaultOnFocusComponent` set to false, default internal implementation of visual feedback for tap-to-focus gesture will be disabled.
#### `onZoomChanged`
Args: Args:
``` ```
@ -215,6 +218,7 @@ Args:
} }
``` ```
Will call when focus has changed. Will call when focus has changed.
By default, `onZoomChanged` is not defined and pinch-to-zoom is disabled.
## Component methods ## Component methods
@ -229,7 +233,7 @@ Supported options:
- `audio` (See `captureAudio` under Properties) - `audio` (See `captureAudio` under Properties)
- `mode` (See `captureMode` under Properties) - `mode` (See `captureMode` under Properties)
- `target` (See `captureTarget` under Properties) - `target` (See `captureTarget` under Properties)
#### `stopCapture()` #### `stopCapture()`
Ends the current capture session for video captures. Only applies when the current `captureMode` is `video`. Ends the current capture session for video captures. Only applies when the current `captureMode` is `video`.