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 framework ScanditBarcodeCapture

BarcodeCountStatusResult
open class BarcodeCountStatusResult : NSObject

Added in version 6.17.0

An object used to provide a status list when calling BarcodeCountStatusProviderCallback.onStatusReady(). Cannot be instantiated directly, instead must be created using one of the creator methods BarcodeCountStatusSuccessResult.init(), BarcodeCountStatusErrorResult.init() or BarcodeCountStatusAbortResult.init().

BarcodeCountStatusSuccessResult
open class BarcodeCountStatusSuccessResult : BarcodeCountStatusResult

Added in version 6.17.0

init
init(statusList: Array<BarcodeCountStatusItem>, statusModeEnabledMessage: String?, statusModeDisabledMessage: String?)

Added in version 6.17.0

Creator method that constructs a BarcodeCountStatusResult representing success when retrieving the status for the required barcodes. statusModeEnabledMessage will be presented to the user after successfully enabling status mode, and statusModeDisabledMessage will be displayed when exiting it.

BarcodeCountStatusErrorResult
open class BarcodeCountStatusErrorResult : BarcodeCountStatusResult

Added in version 6.17.0

init
init(statusList: Array<BarcodeCountStatusItem>, errorMessage: String?, statusModeDisabledMessage: String?)

Added in version 6.17.0

Creator method that constructs a BarcodeCountStatusResult representing an error when retrieving the status for the required barcodes. errorMessage will be presented to the user after successfully enabling status mode, and statusModeDisabledMessage will be displayed when exiting it.

BarcodeCountStatusAbortResult
open class BarcodeCountStatusAbortResult : BarcodeCountStatusResult

Added in version 6.17.0

init
init(errorMessage: String?)

Added in version 6.17.0

Creator method that constructs a BarcodeCountStatusResult representing a critical failure when retrieving the status for the required barcodes. Will abort the status mode immediately, displaying errorMessage to the user.