Package io.scanbot.sdk.creditcard
Enum CreditCardScanningMode
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum CreditCardScanningMode extends Enum<CreditCardScanningMode>
The scanning mode.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
CreditCardScanningMode.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 CreditCardScanningMode
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<CreditCardScanningMode>
values()
Returns an array containing the constants of this enum type, in the order they're declared. -
-
Method Detail
-
valueOf
final CreditCardScanningMode 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<CreditCardScanningMode> 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.
-
-
-
-