Result for document scanning.
| class | GmsDocumentScanningResult.Page | Represents a page in the scanning result. | |
| class | GmsDocumentScanningResult.Pdf | Represents the PDF in the scanning result. | |
| static GmsDocumentScanningResult |
fromActivityResultIntent(Intent data)
Gets the
GmsDocumentScanningResult from the scanning Activity result data.
|
| abstract List<GmsDocumentScanningResult.Page> |
getPages()
Returns the scanned pages or
null if
GmsDocumentScannerOptions.RESULT_FORMAT_JPEG was not specified when
creating the scanner options.
|
| abstract GmsDocumentScanningResult.Pdf |
getPdf()
Returns the PDF result or
null if
GmsDocumentScannerOptions.RESULT_FORMAT_PDF was not specified when
creating the scanner options.
|
Gets the
GmsDocumentScanningResult from the scanning Activity result data.
Returns null if fails to extract or construct the result.
Returns the scanned pages or null if
GmsDocumentScannerOptions.RESULT_FORMAT_JPEG was not specified when creating
the scanner options.
Returns the PDF result or null if
GmsDocumentScannerOptions.RESULT_FORMAT_PDF was not specified when creating
the scanner options.