Dev Center
Swift
Objective-C
Table of contents

Thanks for downloading Dynamsoft Barcode Reader Package!

Your download will start shortly. If your download does not begin, click here to retry.

EnumTerminatePhase

  • Android
  • Objective-C
  • Swift
public class EnumTerminatePhase {
    public static final int TP_REGION_PREDECTED = 1;
    public static final int TP_IMAGE_PREPROCESSED = 2;
    public static final int TP_IMAGE_BINARIZED = 4;
    public static final int TP_BARCODE_LOCALIZED = 8;
    public static final int TP_BARCODE_TYPE_DETERMINED = 16;
    public static final int TP_BARCODE_RECOGNIZED = 32;
}
typedef NS_ENUM(NSInteger, EnumTerminatePhase)
{
    /** Exits the barcode reading algorithm after the region predetection is done. */
    EnumTerminatePhasePredetected NS_SWIFT_NAME(Predetected) = 0x01,
    /** Exits the barcode reading algorithm after the region predetection and image pre-processing is done. */
    EnumTerminatePhasePreprocecessed NS_SWIFT_NAME(Preprocecessed) = 0x02,
    /** Exits the barcode reading algorithm after the region predetection, image pre-processing, and image binarization are done. */
    EnumTerminatePhaseBinarized NS_SWIFT_NAME(Binarized) = 0x04,
    /** Exits the barcode reading algorithm after the region predetection, image pre-processing, image binarization, and barcode localization are done. */
    EnumTerminatePhaseLocalized NS_SWIFT_NAME(Localized) = 0x08,
    /** Exits the barcode reading algorithm after the region predetection, image pre-processing, image binarization, barcode localization, and barcode type determining are done. */
    EnumTerminatePhaseDetermined NS_SWIFT_NAME(Determined) = 0x10,
    /** Exits the barcode reading algorithm after the region predetection, image pre-processing, image binarization, barcode localization, barcode type determining, and barcode recognition are done. */
    EnumTerminatePhaseRecognized NS_SWIFT_NAME(Recognized) = 0x20
};
public enum EnumTerminatePhase : Int{
    /** Exits the barcode reading algorithm after the region predetection is done. */
    Predetected = 0x01
    /** Exits the barcode reading algorithm after the region predetection and image pre-processing is done. */
    Preprocecessed = 0x02
    /** Exits the barcode reading algorithm after the region predetection, image pre-processing, and image binarization are done. */
    Binarized = 0x04
    /** Exits the barcode reading algorithm after the region predetection, image pre-processing, image binarization, and barcode localization are done. */
    Localized = 0x08
    /** Exits the barcode reading algorithm after the region predetection, image pre-processing, image binarization, barcode localization, and barcode type determining are done. */
    Determined = 0x10
    /** Exits the barcode reading algorithm after the region predetection, image pre-processing, image binarization, barcode localization, barcode type determining, and barcode recognition are done. */
    Recognized = 0x20
}

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

latest version

    • Latest version
    • Version 9.x
      • Version 9.6.40
      • Version 9.6.20
      • Version 9.6.11
      • Version 9.6.10
      • Version 9.6.0
      • Version 9.4.0
      • Version 9.2.13
      • Version 9.2.11
      • Version 9.2.10
      • Version 9.0.2
      • Version 9.0.1
      • Version 9.0.0
    • Version 8.x
      • Version 8.9.3
      • Version 8.9.1
      • Version 8.9.0
      • Version 8.8.0
      • Version 8.6.0
      • Version 8.4.0
      • Version 8.2.1
      • Version 8.2.0
      • Version 8.1.2
      • Version 8.1.0
      • Version 8.0.0
    • Version 7.x
      • Version 7.6.0
      • Version 7.5.0
    Change +