You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2014/06/27 18:09:33 UTC

git commit: Docs updated with some default values

Repository: cordova-plugin-camera
Updated Branches:
  refs/heads/master 06ecc91fd -> c1683000d


Docs updated with some default values

close #35


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/commit/c1683000
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/tree/c1683000
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/diff/c1683000

Branch: refs/heads/master
Commit: c1683000d2c56ecd83cb450f040b4e0fb64b6a37
Parents: 06ecc91
Author: Raymond Camden <ra...@gmail.com>
Authored: Fri Jun 20 12:34:24 2014 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Fri Jun 27 12:09:01 2014 -0400

----------------------------------------------------------------------
 doc/index.md | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/blob/c1683000/doc/index.md
----------------------------------------------------------------------
diff --git a/doc/index.md b/doc/index.md
index 66f0a19..d4c4fe0 100644
--- a/doc/index.md
+++ b/doc/index.md
@@ -169,9 +169,9 @@ Optional parameters to customize the camera settings.
 
 ### Options
 
-- __quality__: Quality of the saved image, expressed as a range of 0-100, where 100 is typically full resolution with no loss from file compression. _(Number)_ (Note that information about the camera's resolution is unavailable.)
+- __quality__: Quality of the saved image, expressed as a range of 0-100, where 100 is typically full resolution with no loss from file compression. The default is 50. _(Number)_ (Note that information about the camera's resolution is unavailable.)
 
-- __destinationType__: Choose the format of the return value. Defined in `navigator.camera.DestinationType` _(Number)_
+- __destinationType__: Choose the format of the return value. The default is FILE_URI. Defined in `navigator.camera.DestinationType` _(Number)_
 
         Camera.DestinationType = {
             DATA_URL : 0,      // Return image as base64-encoded string
@@ -179,7 +179,7 @@ Optional parameters to customize the camera settings.
             NATIVE_URI : 2     // Return image native URI (e.g., assets-library:// on iOS or content:// on Android)
         };
 
-- __sourceType__: Set the source of the picture.  Defined in `navigator.camera.PictureSourceType` _(Number)_
+- __sourceType__: Set the source of the picture. The default is CAMERA. Defined in `navigator.camera.PictureSourceType` _(Number)_
 
         Camera.PictureSourceType = {
             PHOTOLIBRARY : 0,
@@ -189,7 +189,7 @@ Optional parameters to customize the camera settings.
 
 - __allowEdit__: Allow simple editing of image before selection. _(Boolean)_
 
-- __encodingType__: Choose the  returned image file's encoding.  Defined in `navigator.camera.EncodingType` _(Number)_
+- __encodingType__: Choose the  returned image file's encoding. Default is JPEG. Defined in `navigator.camera.EncodingType` _(Number)_
 
         Camera.EncodingType = {
             JPEG : 0,               // Return JPEG encoded image
@@ -214,7 +214,7 @@ Optional parameters to customize the camera settings.
 
 - __popoverOptions__: iOS-only options that specify popover location in iPad.  Defined in `CameraPopoverOptions`.
 
-- __cameraDirection__: Choose the camera to use (front- or back-facing).  Defined in `navigator.camera.Direction` _(Number)_
+- __cameraDirection__: Choose the camera to use (front- or back-facing). The default is BACK. Defined in `navigator.camera.Direction` _(Number)_
 
         Camera.Direction = {
             BACK : 0,      // Use the back-facing camera