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 R
getResult()
Scanning or recognition result - the essence of components work done. abstract Integer
getResultCode()
Defines whether activity finished and result provided or, for example, Activity.RESULT_CANCELED Boolean
getResultOk()
abstract Boolean
isLicenseInvalid()
Indicates whether RTU returned due to license issue detected. abstract Boolean
getSdkIsNotInitialized()
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
true
no result should be expected.
-
getSdkIsNotInitialized
abstract Boolean getSdkIsNotInitialized()
Indicates whether RTU returned due to Scanbot SDK is not initialized. In case of
true
no result should be expected.
-
-
-
-