ICamera View Configuration
Base interface to control configuration parameters of the Camera inside the Classical component View
Inheritors
Properties
Delay that camera will took before snap on auto focus complete called from camera core in ms. For some devices this callback could call even before real auto focus completed, so we need to take some delay before snapping. Usually you can set 500ms. By default it is set to 20ms.
Functions
Locks the min supported focus distance and disables continuous focus
Limit the frame rate of the camera analyzer. By default, the frame rate is set to the maximum possible value.
Whether touch-to-focus is enabled on camera preview. Enabled by default.
Defines a camera module. By default is CameraModule.BACK.
Orientation lock mode of the camera: PORTRAIT or LANDSCAPE. By default the camera orientation is not locked.
Set the camera preview mode. By default - CameraPreviewMode.FILL_IN.
Set whether camera should force maximum possible quality of snapped picture. As a result snapping speed could be significantly slower and result image could be bigger. By default set to false
This parameter works only with ScanbotCameraXView
enabled
Set whether camera should force maximum possible size of snapped picture or use maximum size that available with the same aspect ratio as preview by default set to false
This parameter works only with ScanbotCameraXView
enabled
Set custom zoom range. Default value is ZoomRange(0.5f, 100f).
Sets current zoom ratio ranging from 0.5f to 100f. Zoom Level 1f represents 1x zoom ratio. Default value is 1f.
Set camera shutter sound state. true
if system sound should be played on the take picture event, false
- otherwise. By default, the camera plays the system-defined camera shutter sound when takePicture() is called.