APIs Used:
- GmsDocumentScanning.getClient(options): Returns GmsDocumentScanner object which initialise to scanner.
- GmsDocumentScannerOptions.Builder(): Builder to build the scanning options like scanner mode, Gallery or Camera allowed, Page Limit, etc.
- GmsDocumentScanner's getStartScanIntent(activity): Which listens to success/failure of scans.