Callback called when some (not all) Errors occur
Error object containing errorCode (.code) and .message
Callback called when scanning is started
video Element
Callback called when a scan yielded in a performance log
object containing the performance log
Callback called when a scan yielded in a result
object containing the scanned result and image
Callback called when any Barcodes are detected.
object containing the scanned result and images
Disposes anylineJS by unmounting it from the dom and cleaning up
Returns an object with the full image and its cutout from the SDK.
Get current state of AnylineJS
Pause the scan process
Resumes the scan process
Starts the scan process
A promise resolving to:
HTMLVideoElement when called from INITIALIZED state (starts camera and scanning)undefined when called from STOPPED or PAUSED statesStops the scan process
Camera API