Mock
Configurable mocked (fake) camera implementation for various testing purposes.
Constructors
Properties
Delay in milliseconds between each next frame.
If true
mock camera will try to load a frame image from the file system. if the filepath from resourceProvider was changed - it will reload image and start using new image. If path was not changed but the file size changed due to the resource mocking it will load it again
Frame loading attempt delay. Default is IMAGE_READ_ATTEMPT_DELAY.
Frame loading attempt limit. Default is IMAGE_READ_ATTEMPTS_LIMIT.
Whether to populate loaded frame to ImageView in ScanbotMockCameraView layout.
Camera implementation will try to hide ViewFinders from view hierarchy. Success not guaranteed. Default value is true
.
Camera implementation will try to hide polygon views from view hierarchy. Success not guaranteed. Default value is false
.