CheckCameraPreviewPlugin: Validates if the camera preview plugin is currently available. Useful to verify if the current application has the plugin installed.
GetDeviceSize: Gets the with and height of the device screen.
SetPictureData: Set the image of an HTML img element, usign the result from TakePicture.
StartCameraPreview: Turn on the camera preview plugin. This immediately starts capturing the feed of the camera.
StopCameraPreview: Stops the camera preview instance.
SwitchCamera: Switch from the rear camera and front camera, if available
TakePicture: Capture photo.