Package io.scanbot.page
Enum PageImageSource
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum PageImageSource extends Enum<PageImageSource>
The source of an image.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
PageImageSource.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description UNDEFINED
The source of the image is not known.
MANUAL_SNAP
The image was captured manually.
AUTO_SNAP
The image was captured automatically.
CAMERA_FRAME
The image originates from a camera video frame.
IMPORTED
The image originates from the photo/media gallery.
-
Method Summary
Modifier and Type Method Description final String
toJson()
final PageImageSource
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<PageImageSource>
values()
Returns an array containing the constants of this enum type, in the order they're declared. -
-
Method Detail
-
valueOf
final PageImageSource 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<PageImageSource> 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.
-
-
-
-