public class DocScanner
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
DocScanner.Information
Class for storing information on a
DocScanner. |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUpData()
Removes all the internally stored data (images, documents) from the
system.
|
void |
cleanUpLastPage()
Removes the internally stored data (images, documents) of the last page
from the system.
|
DocScanner.Information |
getInfo()
Returns the scanner information.
|
Page |
getPage(int pageindex)
Returns a previously scanned
Page. |
RawImage |
getPreview()
Returns the last captured preview image.
|
Document |
loadDocument(BinData document)
Loads the data of a "
Root document" saved earlier. |
Page |
scan(DocScannerTask task,
PagePosition pos)
Takes images from an
object window of the scanner.
|
TaskControl |
startScanning(DocScannerTask task,
PagePosition pos)
Takes images from an
object window of the scanner in
a background thread.
|
TaskControl |
startTask(FreerunTask task)
Starts a task declared by the task parameter.
|
public DocScanner.Information getInfo() throws General
Generalpublic Page scan(DocScannerTask task, PagePosition pos) throws General
public RawImage getPreview() throws General
FreerunTask.liveStream() task should be started before.Generalpublic TaskControl startScanning(DocScannerTask task, PagePosition pos) throws General
TaskControl.Wait() method must be called.task - List of lights and the object window Id.pos - The target page selector.TaskControl object.Generalpublic TaskControl startTask(FreerunTask task) throws General
TaskControl.Wait() method must be
called.task - The task to start.TaskControl object.Generalpublic void cleanUpData()
throws General
Generalpublic void cleanUpLastPage()
throws General
GeneralARH Passport Reader v 2.2.0.17 / 2017 July 19 14:58