| Modifier and Type | Method and Description |
|---|---|
boolean |
addBarcodeEventListener(BarcodeEventListener barcodeEventListener)
コールバック用のインターフェース BarcodeEventListenerを登録するRegister the interface BarcodeEventListener for the callback. |
boolean |
deinit()
スキャナとの切断を行う Disconnect from the scanner. |
ReadDataExtra |
getReadDataExtra()
最後に読み取りが成功したデータの拡張情報を取得する Get the extended information of the last successfully read data. |
ScannerInfo |
getScannerInfo()
インスタンスのスキャナ情報を得る Get instance scanner information. |
ScannerSettings |
getSettings()
|
boolean |
init()
スキャナとの接続を行う Make a connection with the scanner. |
boolean |
isConnected()
スキャナとの接続が完了しているかどうかを返す Returns whether the connection with the scanner is complete. |
ScannerSettings |
readFileSettings(java.lang.String filePath)
設定値をファイルから読み込む Read the setting value from the file. |
boolean |
removeBarcodeEventListener()
コールバック用のインターフェース BarcodeEventListenerを削除するRemove the interface BarcodeEventListener for the callback. |
boolean |
saveFileSettings(java.lang.String filePath,
ScannerSettings settings)
設定値をファイルに保存する Save the settings to a file. |
boolean |
sendCommand(java.lang.String universalCommand)
スキャンエンジンが備える機能をAPIを介さずにUniversalコマンドで設定する Set the functions provided by the scan engine with universal commands without going through the API. |
boolean |
setDefaultSettings()
スキャナの設定を工場出荷時設定に戻す Reset scanner settings to factory settings. |
boolean |
setSettings(ScannerSettings scannerSettings)
スキャナへ設定情報を送信する Send the setting information to the scanner. |
boolean |
startScan()
接続したスキャナで読み取りを開始する Start reading with the connected scanner. |
boolean |
stopScan()
接続したスキャナで読み取りを終了する Finish reading with the connected scanner. |
boolean |
takePicture(int imageType)
接続したスキャナで画像撮影を行う Take an image with the connected scanner. |
public ScannerInfo getScannerInfo()
ScannergetScannerInfo in interface ScannerScannerManager.getScanner(ScannerInfo)のパラメータとして使用したScannerInfoScannerInfo used as a parameter of ScannerManager.getScanner(ScannerInfo)public boolean isConnected()
ScannerisConnected in interface Scannerpublic boolean startScan()
Scannerpublic boolean stopScan()
Scannerpublic boolean takePicture(int imageType)
ScannertakePicture in interface ScannerimageType - 1:jpeg , 3:BMPpublic boolean init()
Scannerpublic boolean deinit()
Scannerpublic boolean addBarcodeEventListener(BarcodeEventListener barcodeEventListener)
ScannerBarcodeEventListenerを登録するBarcodeEventListener for the callback.addBarcodeEventListener in interface Scannerpublic boolean removeBarcodeEventListener()
ScannerBarcodeEventListenerを削除するBarcodeEventListener for the callback.removeBarcodeEventListener in interface Scannerpublic ScannerSettings getSettings()
ScannergetSettings in interface ScannerScannerSettings / 異常動作 nullScannerSettings / Abnormal operation : nullpublic boolean setSettings(ScannerSettings scannerSettings)
ScannersetSettings in interface ScannerscannerSettings - 設定内容を編集したScannerSettingsScannerSettingspublic boolean setDefaultSettings()
ScannersetDefaultSettings in interface Scannerpublic boolean sendCommand(java.lang.String universalCommand)
ScannersendCommand in interface ScanneruniversalCommand - ユニバーサルコマンドpublic ReadDataExtra getReadDataExtra()
ScannergetReadDataExtra in interface ScannerReadDataExtra / 異常動作 nullReadDataExtra / Abnormal operation : nullpublic boolean saveFileSettings(java.lang.String filePath,
ScannerSettings settings)
ScannersaveFileSettings in interface ScannerfilePath - ファイルパスsettings - 設定値ScannerSettingsScannerSettingspublic ScannerSettings readFileSettings(java.lang.String filePath)
ScannerreadFileSettings in interface ScannerfilePath - ファイルパスScannerSettings /読み込み失敗 nullScannerSettings / Read failure : null