From c1683000d2c56ecd83cb450f040b4e0fb64b6a37 Mon Sep 17 00:00:00 2001 From: Raymond Camden Date: Fri, 20 Jun 2014 12:34:24 -0500 Subject: [PATCH] Docs updated with some default values close #35 --- doc/index.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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