Result

data class Result(val resultCode: Int, val result: BarcodeScannerResult?, val isLicenseInvalid: Boolean, val sdkIsNotInitialized: Boolean, val isAutoCancelledByTimeout: Boolean, val barcodeImagePath: String?, val barcodePreviewFramePath: String?) : InternalBarcodeScannerActivity.InternalResult

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

Constructors

Link copied to clipboard
constructor(resultCode: Int, result: BarcodeScannerResult?, isLicenseInvalid: Boolean, sdkIsNotInitialized: Boolean, isAutoCancelledByTimeout: Boolean, barcodeImagePath: String?, barcodePreviewFramePath: String?)

Properties

Link copied to clipboard
open override val barcodeImagePath: String?

Path to snapped image of area, containing scanned barcode(s).

Link copied to clipboard
open override val barcodePreviewFramePath: String?

Path to preview frame image of area, containing scanned barcode(s).

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
open override val result: BarcodeScannerResult?

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.