Package io.scanbot.sdk.image
Enum Class ImageSourceType
- All Implemented Interfaces:
Serializable,Comparable<ImageSourceType>,Constable
The type of source which originated the underlying image.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionImageRef was created by a call to an SDK feature, such as a scanner, image processor, etc.ImageRef was created from an encoded buffer.ImageRef was created from data from the camera.ImageRef was created from a file.ImageRef was created from another type, e.g.ImageRef was created from a platform image, e.g. -
Method Summary
Modifier and TypeMethodDescriptionstatic ImageSourceTypeReturns the enum constant of this class with the specified name.static ImageSourceType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
API
ImageRef was created by a call to an SDK feature, such as a scanner, image processor, etc. -
PLATFORM_IMAGE
ImageRef was created from a platform image, e.g. Bitmap on Android, UIImage on iOS. -
CAMERA
ImageRef was created from data from the camera. -
FILE
ImageRef was created from a file. -
BUFFER
ImageRef was created from an encoded buffer. -
OTHER
ImageRef was created from another type, e.g. from custom loader.
-
-
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
-