-
- All Implemented Interfaces:
public enum RequirementIdEnumerates the checked requirements for the Gini Capture SDK.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAMERA_PERMISSIONPermission to access the camera is required.
On Android before version 6.0 the camera permission must be declared in the manifest.
On Android 6.0 and later in addition to the manifest declaration the camera permission must be granted by the user during run-time.
On Android 6.0 and later you need to ask the user for the camera permission before you check the requirements.
Camera permission is required for checking the other requirements.
CAMERAA back-facing camera needs to be present.
CAMERA_RESOLUTIONThe camera must support a preview resolution and a picture resolution higher than 8MP.
CAMERA_FLASHThe camera on phones must support always-on flash mode. Not required for tablets.
CAMERA_FOCUSThe camera must support auto focus mode.
DEVICE_MEMORYThe device must have sufficient memory for in-memory bitmap handling, compression and jpeg decompression.
-
Method Summary
Modifier and Type Method Description static Array<RequirementId>values()Returns an array containing the constants of this enum type, in the order they're declared. static RequirementIdvalueOf(String name)Returns the enum constant of this type with the specified name. -
-
Method Detail
-
values
static Array<RequirementId> 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.
-
valueOf
static RequirementId valueOf(String name)
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.)
-
-
-
-