Constants: RF: jsCamera

Parent: $root.$constants

kJSCameraActionCaptureImageCaptures image
kJSCameraActionGetDevicesGet the cameras attached to the device
kJSCameraActionStartBarcodeScannerStarts scanning using the given mode
kJSCameraActionStartCameraStarts camera feed
kJSCameraActionStopStops scanning and closes the camera feed
kJSCameraErrorAbortA abort error has occured
kJSCameraErrorNotAllowedA not allowed error has occured
kJSCameraErrorNotFoundA not found error has occured
kJSCameraErrorNotReadableA not readable error has occured
kJSCameraErrorOverconstrainedAn overconstrained error has occured
kJSCameraErrorSecurityA security error has occured
kJSCameraErrorTypeA type error has occured
kJSCameraErrorUnknownAn unknown error has occured
kJSCameraFacingModeDeviceIdUses the device id to specify which camera to use
kJSCameraFacingModeEnvironmentPrefers to use the rear facing camera
kJSCameraFacingModeUserPrefers to use the front facing camera
kJSCameraImageTypeJPEGJPEG image format
kJSCameraImageTypePNGPNG image format
kJSCameraUIBarcodeShows UI to scan QR codes and barcodes from the users camera device
kJSCameraUICameraShows UI to capture images from the users camera device
kJSCameraUINoneShows no default UI
kJSCameraUISwitchCameraShows UI to allow user to switch camera