public final class GiniVisionRequirements
extends java.lang.Object
Checks the device's hardware capabilities to determine, if it is compatible with the Gini Vision Library.
The checked requirements are listed in the RequirementId
enum.
Call GiniVisionRequirements.checkRequirements(Context)
to get a report of the requirement checks.
On Android 6.0 and later you need to ask the user for the camera permission before you check the requirements.
Modifier and Type | Method and Description |
---|---|
static RequirementsReport |
checkRequirements(Context context)
Checks the device's hardware capabilities.
|
public static RequirementsReport checkRequirements(Context context)
Checks the device's hardware capabilities.
context
- any Context
instanceRequirementsReport
containing information about the checks