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

BarcodeCountStatusResult
class BarcodeCountStatusResult

Added in version 6.18.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 BarcodeCountStatusResultSuccess.Create(), BarcodeCountStatusResultError.Create() or BarcodeCountStatusResultAbort.Create().

BarcodeCountStatusResultSuccess
class BarcodeCountStatusResultSuccess

Added in version 6.18.0

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

Added in version 6.18.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.

BarcodeCountStatusResultError
class BarcodeCountStatusResultError

Added in version 6.18.0

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

Added in version 6.18.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.

BarcodeCountStatusResultAbort
class BarcodeCountStatusResultAbort

Added in version 6.18.0

Create()
static BarcodeCountStatusResult Create(string errorMessage)

Added in version 6.18.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.