Package com.appliedrec.verid.core2
Class VerID
- java.lang.Object
-
- com.appliedrec.verid.core2.VerID
-
public class VerID extends java.lang.ObjectVer-ID environment- Since:
- 1.0.0
- See Also:
VerIDFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTAG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Close (destroy) the environmentjava.util.Optional<android.content.Context>getContext()IFaceDetectiongetFaceDetection()Get an instance offace detectionassociated with this environment.IFaceRecognitiongetFaceRecognition()Get an instance offace recognitionassociated with this environment.static VerIDgetInstance(int id)Get an instance of Ver-ID by its instance ID.intgetInstanceId()Get an ID of this instancejava.util.Optional<com.appliedrec.verid.core2.livenessdetection.LivenessDetection>getLivenessDetection()Optionally returnIReportergetSDKAuth()IUserManagementgetUserManagement()Get an instance ofuser managementassociated with this environment.java.util.Optional<VerIDUtilities>getUtilities()Optionally returnstatic java.lang.StringgetVersion()
-
-
-
Method Detail
-
getFaceDetection
public IFaceDetection getFaceDetection()
Get an instance offace detectionassociated with this environment.- Returns:
- Face detection
- Since:
- 1.0.0
-
getFaceRecognition
public IFaceRecognition getFaceRecognition()
Get an instance offace recognitionassociated with this environment.- Returns:
- Face recognition
- Since:
- 1.0.0
-
getUserManagement
public IUserManagement getUserManagement()
Get an instance ofuser managementassociated with this environment.- Returns:
- User management
- Since:
- 1.0.0
-
getUtilities
public java.util.Optional<VerIDUtilities> getUtilities()
Optionally return- Returns:
- Ver-ID utilities
- Since:
- 2.6.0
-
getLivenessDetection
public java.util.Optional<com.appliedrec.verid.core2.livenessdetection.LivenessDetection> getLivenessDetection()
Optionally return- Returns:
- Liveness detection
- Since:
- 2.8.0
-
close
public void close()
Close (destroy) the environment- Since:
- 1.0.0
-
getContext
public java.util.Optional<android.content.Context> getContext()
- Returns:
- Context in which the instance was initialized
- Since:
- 2.0.0
-
getInstanceId
public int getInstanceId()
Get an ID of this instance- Returns:
- Instance identifier
- Since:
- 1.0.0
-
getSDKAuth
public final IReporter getSDKAuth()
-
getInstance
public static VerID getInstance(int id) throws java.lang.Exception
Get an instance of Ver-ID by its instance ID.The instance is created by
Ver-ID factory.- Parameters:
id- ID of the instance to get- Returns:
- Instance of VerID
- Throws:
java.lang.Exception- if an instance with the given ID does not exists- Since:
- 1.0.0
-
getVersion
public static java.lang.String getVersion()
- Returns:
- Version of the Ver-ID SDK
-
-