Tire Tread Scan View
Initializes the scan view with the configuration that was provided with config.
When the scan starts, events are being emitted through callback. If DefaultUI is disabled these events can be used to provide further information to the user (see ScanEvent)
Once the scan is finished and onScanProcessCompleted is invoked, your application should take back the control of the workflow and possibly continue to a result screen.
Parameters
configuration used to set up the scan process
a callback that is invoked when the scan process is aborted
a callback that is invoked once the scan process has finished.
a callback that is invoked when a scan event was emitted
a callback that is invoked when the scan process encountered an error
Initializes the scan view with the configuration in form of a JSON string that was provided with config.
When the scan starts, events are being emitted through callback. If DefaultUI is disabled these events can be used to provide further information to the user (see ScanEvent)
Once the scan is finished and onScanProcessCompleted is invoked, your application should take back the control of the workflow and possibly continue to a result screen.
Parameters
configuration used to set up the scan process.
a callback that is invoked when the scan process is aborted.
a callback that is invoked once the scan process has finished.
a callback that is invoked when a scan event was emitted
a callback that is invoked when the scan process encountered an error during initialization