Liking cljdoc? Tell your friends :D

chromex.app.document-scan

clj

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
raw docstring

api-tableclj

source

gen-callclj

source

gen-wrapclj/smacro

(gen-wrap kind item-id config & args)
source

scanclj/smacro

(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.

https://developer.chrome.com/apps/documentScan#method-scan.

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.
sourceraw docstring

scan*cljs

(scan* config options)
source

tap-all-eventsclj/smacro

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close