Package io.scanbot.sdk.ui
Interface ScanbotActivityResult
-
- All Implemented Interfaces:
public interface ScanbotActivityResult<R extends Object>Wrapper-class for all information, obtained as a result of RTU activity work.
-
-
Method Summary
Modifier and Type Method Description abstract RgetResult()Scanning or recognition result - the essence of components work done. abstract IntegergetResultCode()Defines whether activity finished and result provided or, for example, Activity.RESULT_CANCELED BooleangetResultOk()abstract BooleanisLicenseInvalid()Indicates whether RTU returned due to license issue detected. abstract BooleangetSdkIsNotInitialized()Indicates whether RTU returned due to Scanbot SDK is not initialized. -
-
Method Detail
-
getResult
abstract R getResult()
Scanning or recognition result - the essence of components work done.
Might be null if resultCode is not Activity.RESULT_OK.
-
getResultCode
abstract Integer getResultCode()
Defines whether activity finished and result provided or, for example, Activity.RESULT_CANCELED
-
getResultOk
Boolean getResultOk()
-
isLicenseInvalid
abstract Boolean isLicenseInvalid()
Indicates whether RTU returned due to license issue detected. In case of
trueno result should be expected.
-
getSdkIsNotInitialized
abstract Boolean getSdkIsNotInitialized()
Indicates whether RTU returned due to Scanbot SDK is not initialized. In case of
trueno result should be expected.
-
-
-
-