Cancels a scan that was previously started using startScan.
The response is sent to the callback.
|job| : An active scan job previously returned from
startScan.
|callback| : Called with the result.
Closes a previously opened scanner handle. A response indicating the
outcome will be sent to the callback. Even if the response is not a
success, the supplied handle will become invalid and should not be used
for further operations.
|scannerHandle| : Open scanner handle previously returned from
openScanner.
|callback| : Called with the result.
Gets the group names and member options from a scanner handle previously
opened by openScanner.
|scannerHandle| : Open scanner handle previously returned from
openScanner.
|callback| : Called with the result.
Gets the list of available scanners. On success, the list will be
sent to the callback.
|filter| : DeviceFilter indicating which types of scanners
should be returned.
|callback| : Called with the result and list of scanners.
Opens a scanner for exclusive access. On success, the response containing
a scanner handle and configuration will be sent to the callback.
|scannerId| : Scanner id previously returned from getScannerList
indicating which scanner should be opened.
|callback| : Called with the result.
Performs a document scan. On success, the PNG data will be
sent to the callback.
|options| : Object containing scan parameters.
|callback| : Called with the result and data from the scan.
Sends the list of new option values in options as a bundle
to be set on scannerHandle. Each option will be set by the
backend the order specified. Returns a backend response indicating the
result of each option setting and a new set of final option values after
all options have been updated.
|scannerHandle| : Open scanner handle previously returned from
openScanner.
|options| : A list of OptionSettings that will be applied to
scannerHandle.
|callback| : Called with the result.
Starts a scan using a previously opened scanner handle. A response
indicating the outcome will be sent to the callback. If successful, the
response will include a job handle that can be used in subsequent calls
to read scan data or cancel a scan.
|scannerHandle| : Open scanner handle previously returned from
openScanner.
|options| : StartScanOptions indicating what options are to
be used for the scan. StartScanOptions.format must match
one of the entries returned in the scanner's ScannerInfo.
|callback| : Called with the result.