Note
The Barcode Count status mode API is still in beta and may change in future versions of Scandit Data Capture SDK.
Barcode Count Status Result
Defined in package com.scandit.datacapture.barcode.count.ui
- BarcodeCountStatusResult
class BarcodeCountStatusResultAdded in version 8.6.0
An object used to provide a status list when calling BarcodeCountStatusProviderCallback.onStatusReady(). Cannot be instantiated directly.
On KMP the creator methods are exposed as companion factory functions on this class.
- Success(statusList, statusModeEnabledMessage, statusModeDisabledMessage)
fun BarcodeCountStatusResult.Success(statusList: List<BarcodeCountStatusItem>, statusModeEnabledMessage: String?, statusModeDisabledMessage: String?): BarcodeCountStatusResult
Added in version 8.6.0
Creator function that constructs a BarcodeCountStatusResult representing success when retrieving the status for the required barcodes.
- Error(statusList, errorMessage, statusModeDisabledMessage)
fun BarcodeCountStatusResult.Error(statusList: List<BarcodeCountStatusItem>, errorMessage: String?, statusModeDisabledMessage: String?): BarcodeCountStatusResult
Added in version 8.6.0
Creator function that constructs a BarcodeCountStatusResult representing an error when retrieving the status for the required barcodes.
- Abort(errorMessage)
fun BarcodeCountStatusResult.Abort(errorMessage: String?): BarcodeCountStatusResult
Added in version 8.6.0
Creator function that constructs a BarcodeCountStatusResult representing a critical failure when retrieving the status for the required barcodes.