Device.Camera
Wisej.Web.Ext.MobileIntegration.Device Camera
Last updated
Wisej.Web.Ext.MobileIntegration.Device Camera
Last updated
Namespace: Wisej.Web.Ext.MobileIntegration
Assembly: Wisej.Web.Ext.MobileIntegration (2.5.0.0)
Provides functionality related to the device's camera.
Detects and scans documents using the camera.
compressionQuality
The quality of the resulting images, expressed as a value from 0.0 to 1.0.
Returns: Image[]. An array Image objects containing the documents.
Throws:
DeviceException Occurs when the device fails to scan documents. See ErrorCode and Reason.
Toggles the device's flashlight.
on
Specifies whether the flashlight should be on.
Throws:
DeviceException Occurs when the device fails to toggle the flashlight. See ErrorCode and Reason.
Allows the user to take a picture using the device's camera.
compressionQuality
The quality of the resulting image, expressed as a value from 0.0 to 1.0.
Returns: Image. The resulting image
Throws:
DeviceException Occurs when the device cannot take a picture. See ErrorCode and Reason.
Allows the user to take a video using the device's camera.
Returns: String. The video's base64 encoded URL
Throws:
DeviceException Occurs when the device cannot record a video. See ErrorCode and Reason.