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 classPageImageSource.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description UNDEFINEDThe source of the image is not known.
MANUAL_SNAPThe image was captured manually.
AUTO_SNAPThe image was captured automatically.
CAMERA_FRAMEThe image originates from a camera video frame.
IMPORTEDThe image originates from the photo/media gallery.
-
Method Summary
Modifier and Type Method Description final StringtoJson()final PageImageSourcevalueOf(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.
-
-
-
-