Package io.scanbot.sdk.ui.view.camera
Class DocumentScannerActivity.Result
-
- All Implemented Interfaces:
-
io.scanbot.sdk.ui.ScanbotActivityResult
public final class DocumentScannerActivity.Result implements ScanbotActivityResult<List<Page>>
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerresultCodeprivate final List<Page>resultprivate final BooleanisLicenseInvalidprivate final BooleansdkIsNotInitializedprivate final DocumentScannerActivity.DocumentScannerSettingssettings
-
Constructor Summary
Constructors Constructor Description DocumentScannerActivity.Result(Integer resultCode, List<Page> result, Boolean isLicenseInvalid, Boolean sdkIsNotInitialized, DocumentScannerActivity.DocumentScannerSettings settings)
-
Method Summary
Modifier and Type Method Description IntegergetResultCode()Defines whether activity finished and result provided or, for example, Activity.RESULT_CANCELED List<Page>getResult()Scanning or recognition result - the essence of components work done. BooleanisLicenseInvalid()Indicates whether RTU returned due to license issue detected. BooleangetSdkIsNotInitialized()Indicates whether RTU returned due to Scanbot SDK is not initialized. final DocumentScannerActivity.DocumentScannerSettingsgetSettings()-
-
Method Detail
-
getResultCode
Integer getResultCode()
Defines whether activity finished and result provided or, for example, Activity.RESULT_CANCELED
-
getResult
List<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
trueno result should be expected.
-
getSdkIsNotInitialized
Boolean getSdkIsNotInitialized()
Indicates whether RTU returned due to Scanbot SDK is not initialized. In case of
trueno result should be expected.
-
getSettings
final DocumentScannerActivity.DocumentScannerSettings getSettings()
-
-
-
-