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.view

BarcodeCountStatusResult
class BarcodeCountStatusResult

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 BarcodeCountStatusResultSuccess.create(), BarcodeCountStatusResultError.create() or BarcodeCountStatusResultAbort.create().

BarcodeCountStatusResultSuccess
class BarcodeCountStatusResultSuccess

Added in version 6.17.0

create(statusList, statusModeEnabledMessage, statusModeDisabledMessage)
static @NonNull BarcodeCountStatusResult create(@NonNull List<@NonNull BarcodeCountStatusItem> statusList,
        @NonNull String statusModeEnabledMessage,
        @NonNull String statusModeDisabledMessage)

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.

BarcodeCountStatusResultError
class BarcodeCountStatusResultError

Added in version 6.17.0

create(statusList, errorMessage, statusModeDisabledMessage)
static @NonNull BarcodeCountStatusResult create(@NonNull List<@NonNull BarcodeCountStatusItem> statusList,
        @NonNull String errorMessage,
        @NonNull String statusModeDisabledMessage)

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.

BarcodeCountStatusResultAbort
class BarcodeCountStatusResultAbort

Added in version 6.17.0

create(errorMessage)
static @NonNull BarcodeCountStatusResult create(@NonNull String errorMessage)

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.