Use the chrome.documentScan API to discover and retrieve images from attached paper document scanners.
Use the chrome.documentScan API to discover and retrieve images from attached paper document scanners. * available since Chrome 44 * https://developer.chrome.com/apps/documentScan
(scan options)
Performs a document scan. On success, the PNG data will be sent to the callback.
|options| - Object containing scan parameters.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [result] where:
|result| - https://developer.chrome.com/apps/documentScan#property-callback-result.
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Performs a document scan. On success, the PNG data will be sent to the callback. |options| - Object containing scan parameters. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is [result] where: |result| - https://developer.chrome.com/apps/documentScan#property-callback-result. In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error. https://developer.chrome.com/apps/documentScan#method-scan.
(tap-all-events chan)
Taps all valid non-deprecated events in chromex.app.document-scan namespace.
Taps all valid non-deprecated events in chromex.app.document-scan namespace.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close