Package io.scanbot.sdk.mrz
Enum MrzScanningMode
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum MrzScanningMode extends Enum<MrzScanningMode>
The scanning mode.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
MrzScanningMode.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description LIVE
The scanner will merge all information from multiple frames to provide the best possible result. Use this mode when the input is a video or camera stream.
SINGLE_SHOT
The scanner will only use the current frame and will spend additional time to ensure the best possible result. Use this mode when scanning single images, e.g. imported from the gallery.
-
Method Summary
Modifier and Type Method Description final String
toJson()
final MrzScanningMode
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<MrzScanningMode>
values()
Returns an array containing the constants of this enum type, in the order they're declared. -
-
Method Detail
-
valueOf
final MrzScanningMode valueOf(String value)
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.)
-
values
final Array<MrzScanningMode> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
-
-
-