Apache Cordova · Example Payload

Apache Cordova Camera Options Example

ApacheCross-PlatformHybrid AppsJavaScriptMobileOpen SourcePlugins

Apache Cordova Camera Options Example is an example object payload from Apache Cordova, with 11 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

qualitydestinationTypesourceTypeallowEditencodingTypetargetWidthtargetHeightmediaTypecorrectOrientationsaveToPhotoAlbumcameraDirection

Example Payload

apache-cordova-camera-options-example.json Raw ↑
{
  "quality": 75,
  "destinationType": 1,
  "sourceType": 1,
  "allowEdit": false,
  "encodingType": 0,
  "targetWidth": 800,
  "targetHeight": 600,
  "mediaType": 0,
  "correctOrientation": true,
  "saveToPhotoAlbum": false,
  "cameraDirection": 0
}