Parent: $root.$constants
| kJSCameraActionCaptureImage | Captures image |
| kJSCameraActionGetDevices | Get the cameras attached to the device |
| kJSCameraActionStartBarcodeScanner | Starts scanning using the given mode |
| kJSCameraActionStartCamera | Starts camera feed |
| kJSCameraActionStop | Stops scanning and closes the camera feed |
| kJSCameraErrorAbort | A abort error has occured |
| kJSCameraErrorNotAllowed | A not allowed error has occured |
| kJSCameraErrorNotFound | A not found error has occured |
| kJSCameraErrorNotReadable | A not readable error has occured |
| kJSCameraErrorOverconstrained | An overconstrained error has occured |
| kJSCameraErrorSecurity | A security error has occured |
| kJSCameraErrorType | A type error has occured |
| kJSCameraErrorUnknown | An unknown error has occured |
| kJSCameraFacingModeDeviceId | Uses the device id to specify which camera to use |
| kJSCameraFacingModeEnvironment | Prefers to use the rear facing camera |
| kJSCameraFacingModeUser | Prefers to use the front facing camera |
| kJSCameraImageTypeJPEG | JPEG image format |
| kJSCameraImageTypePNG | PNG image format |
| kJSCameraUIBarcode | Shows UI to scan QR codes and barcodes from the users camera device |
| kJSCameraUICamera | Shows UI to capture images from the users camera device |
| kJSCameraUINone | Shows no default UI |
| kJSCameraUISwitchCamera | Shows UI to allow user to switch camera |