Package io.scanbot.sdk.ui.view.camera
Class FinderDocumentScannerActivity.Result
-
- All Implemented Interfaces:
-
io.scanbot.sdk.ui.ScanbotActivityResult
public final class FinderDocumentScannerActivity.Result implements ScanbotActivityResult<Page>
-
-
Field Summary
Fields Modifier and Type Field Description private final Integer
resultCode
private final Page
result
private final Boolean
isLicenseInvalid
private final Boolean
sdkIsNotInitialized
private final FinderDocumentScannerActivity.FinderDocumentScannerSettings
settings
-
Constructor Summary
Constructors Constructor Description FinderDocumentScannerActivity.Result(Integer resultCode, Page result, Boolean isLicenseInvalid, Boolean sdkIsNotInitialized, FinderDocumentScannerActivity.FinderDocumentScannerSettings settings)
-
Method Summary
Modifier and Type Method Description Integer
getResultCode()
Defines whether activity finished and result provided or, for example, Activity.RESULT_CANCELED Page
getResult()
Scanning or recognition result - the essence of components work done. Boolean
isLicenseInvalid()
Indicates whether RTU returned due to license issue detected. Boolean
getSdkIsNotInitialized()
Indicates whether RTU returned due to Scanbot SDK is not initialized. final FinderDocumentScannerActivity.FinderDocumentScannerSettings
getSettings()
-
-
Constructor Detail
-
FinderDocumentScannerActivity.Result
FinderDocumentScannerActivity.Result(Integer resultCode, Page result, Boolean isLicenseInvalid, Boolean sdkIsNotInitialized, FinderDocumentScannerActivity.FinderDocumentScannerSettings settings)
-
-
Method Detail
-
getResultCode
Integer getResultCode()
Defines whether activity finished and result provided or, for example, Activity.RESULT_CANCELED
-
getResult
Page getResult()
Scanning or recognition result - the essence of components work done.
Might be null if resultCode is not Activity.RESULT_OK.
-
isLicenseInvalid
Boolean isLicenseInvalid()
Indicates whether RTU returned due to license issue detected. In case of
true
no result should be expected.
-
getSdkIsNotInitialized
Boolean getSdkIsNotInitialized()
Indicates whether RTU returned due to Scanbot SDK is not initialized. In case of
true
no result should be expected.
-
getSettings
final FinderDocumentScannerActivity.FinderDocumentScannerSettings getSettings()
-
-
-
-