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 library scandit_datacapture_barcode_count_ui
- BarcodeCountStatusResult
abstract class BarcodeCountStatusResult
Added in version 7.0.0
An interface representing an object used to provide a status list when calling BarcodeCountStatusProviderCallback.onStatusReady(). Can be created using one of the creator methods BarcodeCountStatusResultSuccess.create(), BarcodeCountStatusResultError.create() or BarcodeCountStatusResultAbort.create().
- BarcodeCountStatusResultSuccess
class BarcodeCountStatusResultSuccess : BarcodeCountStatusResult
Added in version 7.0.0
- create(statusList, statusModeEnabledMessage, statusModeDisabledMessage)
static BarcodeCountStatusResult create(List<BarcodeCountStatusItem> statusList, String statusModeEnabledMessage, String statusModeDisabledMessage)
Added in version 7.0.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 : BarcodeCountStatusResult
Added in version 7.0.0
- create(statusList, errorMessage, statusModeDisabledMessage)
static BarcodeCountStatusResult create(List<BarcodeCountStatusItem> statusList, String errorMessage, String statusModeDisabledMessage)
Added in version 7.0.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 : BarcodeCountStatusResult
Added in version 7.0.0
- create(errorMessage)
static BarcodeCountStatusResult create(String errorMessage)
Added in version 7.0.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.