Result

data class Result(val resultCode: Int, val result: DocumentDataExtractorUiResult?, val isLicenseInvalid: Boolean, val sdkIsNotInitialized: Boolean, val isAutoCancelledByTimeout: Boolean) : BaseDocumentDataExtractorActivity.InternalResult

Wrapper-class for all information, obtained as a result of RTU activity work.

Constructors

Link copied to clipboard
constructor(resultCode: Int, result: DocumentDataExtractorUiResult?, isLicenseInvalid: Boolean, sdkIsNotInitialized: Boolean, isAutoCancelledByTimeout: Boolean)

Properties

Link copied to clipboard

Flag indicating that component finished it's work prematurely due to timeout. No actual result should be expected.

Link copied to clipboard
open override val isLicenseInvalid: Boolean

Indicates whether RTU returned due to license issue detected. In case of true no result should be expected.

Link copied to clipboard

Scanning or recognition result - the essence of components work done.

Link copied to clipboard
open override val resultCode: Int

Defines whether activity finished and result provided or, for example, Activity.RESULT_CANCELED

Link copied to clipboard
open override val sdkIsNotInitialized: Boolean

Indicates whether RTU returned due to Scanbot SDK is not initialized. In case of true no result should be expected.