Table of contents
Swift
Objective-C

EnumResultStatus

EnumResultStatus is an enumeration class that defines the result status of the BarcodeScanResult.

If the status is finished, that indicates that the result has been decoded and is available - while canceled indicates that the operation has been halted. If the result status is exception, then that means that an error has occurred during the barcode detection process.

Definition

Assembly: DynamsoftBarcodeReaderBundle.aar

Namespace: com.dynamsoft.dbrbundle.ui

@IntDef(value = {RS_FINISHED, RS_CANCELED, RS_EXCEPTION})
public @interface EnumResultStatus {
    // The barcode scanning is finished. You can get at least one result from the BarcodeScanResult.
    int RS_FINISHED = 0;
    // The barcode scanning activity is closed before the process is finished. No results are available.
    int RS_CANCELED = 1;
    // Failed to start barcode scanning or an error occurs when scanning the barcodes. No results are available.
    int RS_EXCEPTION = 2;
}

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: