Enum QuadViewPreset
- java.lang.Object
-
- java.lang.Enum<QuadViewPreset>
-
- com.microblink.view.viewfinder.quadview.QuadViewPreset
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<QuadViewPreset>
public enum QuadViewPreset extends java.lang.Enum<QuadViewPreset>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT_CORNERS_FROM_BARCODE_SCAN_ACTIVITY
Setup quad view in the same style as used in default BarcodeScanActivityDEFAULT_CORNERS_FROM_PHOTOPAY_ACTIVITY
Setup quad view in the same style as used in default PhotopayActivityDEFAULT_DOCUMENT_DETECTION
DEFAULT_FROM_DOCUMENT_SCAN_ACTIVITY
Setup quad view in the same style as used in default DocumentScanActivityDEFAULT_FROM_OCR_LINE_SCAN_ACTIVITY
Setup quad view in the same style as used in default OcrLineScanActivityDEFAULT_FROM_OCR_LINE_SCAN_ACTIVITY_WITH_INFO
Setup quad view in the same style as used in OcrLineScanActivity when scan info messages are enabled
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QuadViewPreset
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static QuadViewPreset[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT_CORNERS_FROM_PHOTOPAY_ACTIVITY
public static final QuadViewPreset DEFAULT_CORNERS_FROM_PHOTOPAY_ACTIVITY
Setup quad view in the same style as used in default PhotopayActivity
-
DEFAULT_CORNERS_FROM_BARCODE_SCAN_ACTIVITY
public static final QuadViewPreset DEFAULT_CORNERS_FROM_BARCODE_SCAN_ACTIVITY
Setup quad view in the same style as used in default BarcodeScanActivity
-
DEFAULT_FROM_DOCUMENT_SCAN_ACTIVITY
public static final QuadViewPreset DEFAULT_FROM_DOCUMENT_SCAN_ACTIVITY
Setup quad view in the same style as used in default DocumentScanActivity
-
DEFAULT_FROM_OCR_LINE_SCAN_ACTIVITY
public static final QuadViewPreset DEFAULT_FROM_OCR_LINE_SCAN_ACTIVITY
Setup quad view in the same style as used in default OcrLineScanActivity
-
DEFAULT_FROM_OCR_LINE_SCAN_ACTIVITY_WITH_INFO
public static final QuadViewPreset DEFAULT_FROM_OCR_LINE_SCAN_ACTIVITY_WITH_INFO
Setup quad view in the same style as used in OcrLineScanActivity when scan info messages are enabled
-
DEFAULT_DOCUMENT_DETECTION
public static final QuadViewPreset DEFAULT_DOCUMENT_DETECTION
-
-
Method Detail
-
values
public static QuadViewPreset[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (QuadViewPreset c : QuadViewPreset.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QuadViewPreset valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-