Scanbot Camera Container View
Wrapper around ScanbotCameraView and ScanbotCameraXView, which allows to control which of them should be used.
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.
Sets lifecycle owner for camera view. N/A for ScanbotCameraView implementation. Setting null
means view will attempt to resolve lifecycle on its own.
TODO: desperately needs documentation!!!
TODO: desperately needs documentation!!!
Functions
Obtain FrameHandler instance of type clazz, that is attached to the view (if any).
Set whether camera should use snapping animation. By default set to true
This parameter works only with ScanbotCameraXView
enabled
Limit the frame rate of the camera analyzer. By default, the frame rate is set to the maximum possible value.
Callback which will be invoked when camera will be opened
Allows to set camera physical zoom value, if the value out of range of real camera min and max values it chooses min or max value. Example: camera physical zoom range 1f..5f if we set 6f it will set 5f. Default value is 1f.