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 namespace Scandit.DataCapture.Barcode.Count.UI

IBarcodeCountStatusResult
interface IBarcodeCountStatusResult

Added in version 6.18.0

An interface representing an object used to provide a status list when calling IBarcodeCountStatusProviderCallback.OnStatusReady(). Can be created using one of the creator methods BarcodeCountStatusResultSuccess.Create(), BarcodeCountStatusResultError.Create() or BarcodeCountStatusResultAbort.Create().

BarcodeCountStatusResultSuccess
class BarcodeCountStatusResultSuccess : IBarcodeCountStatusResult

Added in version 6.18.0

Create()
static IBarcodeCountStatusResult Create(IList<BarcodeCountStatusItem> statusList, string statusModeEnabledMessage, string statusModeDisabledMessage)

Added in version 6.18.0

Creator method that constructs a IBarcodeCountStatusResult 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.

BarcodeCountStatusResultError
class BarcodeCountStatusResultError : IBarcodeCountStatusResult

Added in version 6.18.0

Create()
static IBarcodeCountStatusResult Create(IList<BarcodeCountStatusItem> statusList, string errorMessage, string statusModeDisabledMessage)

Added in version 6.18.0

Creator method that constructs a IBarcodeCountStatusResult 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.

BarcodeCountStatusResultAbort
class BarcodeCountStatusResultAbort : IBarcodeCountStatusResult

Added in version 6.18.0

Create()
static IBarcodeCountStatusResult Create(string errorMessage)

Added in version 6.18.0

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