Package io.scanbot.sdk.documentscanner
Enum Class DocumentDisplacement
- All Implemented Interfaces:
Serializable,Comparable<DocumentDisplacement>,Constable
The direction towards the center of the document if the document is partially visible.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe document is partially visible.The document is partially visible.The document is partially visible.The document is partially visible.Either no document was detected, or the document is fully visible.The document is partially visible.The document is partially visible.The document is partially visible.The document is partially visible. -
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentDisplacementReturns the enum constant of this class with the specified name.static DocumentDisplacement[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Either no document was detected, or the document is fully visible. -
UP
The document is partially visible. Move the camera up to capture the full document. -
UPPER_RIGHT
The document is partially visible. Move the camera up and to the right to capture the full document. -
RIGHT
The document is partially visible. Move the camera to the right to capture the full document. -
LOWER_RIGHT
The document is partially visible. Move the camera down and to the right to capture the full document. -
DOWN
The document is partially visible. Move the camera down to capture the full document. -
LOWER_LEFT
The document is partially visible. Move the camera down and to the left to capture the full document. -
LEFT
The document is partially visible. Move the camera to the left to capture the full document. -
UPPER_LEFT
The document is partially visible. Move the camera up and to the left to capture the full document.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-