Use this factory function to get an instance of DocumentScanner.
Syntax
import { getDocumentScanner } from 'lightning/mobileCapabilities';
getDocumentScanner(): DocumentScanner
Parameters
None.
Returns
An instance of DocumentScanner.
Usage
There are no parameters or options when creating an instance. Use the instance to perform scanning operations.