Package com.appliedrec.verid.core2
Class VerID
- java.lang.Object
-
- com.appliedrec.verid.core2.VerID
-
public class VerID extends java.lang.Object
Ver-ID environment- Since:
- 1.0.0
- See Also:
VerIDFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TAG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Close (destroy) the environmentjava.util.Optional<android.content.Context>
getContext()
IFaceDetection
getFaceDetection()
Get an instance offace detection
associated with this environment.IFaceRecognition
getFaceRecognition()
Get an instance offace recognition
associated with this environment.static VerID
getInstance(int id)
Get an instance of Ver-ID by its instance ID.int
getInstanceId()
Get an ID of this instancejava.util.Optional<com.appliedrec.verid.core2.livenessdetection.LivenessDetection>
getLivenessDetection()
Optionally returnIReporter
getSDKAuth()
IUserManagement
getUserManagement()
Get an instance ofuser management
associated with this environment.java.util.Optional<VerIDUtilities>
getUtilities()
Optionally returnstatic java.lang.String
getVersion()
-
-
-
Method Detail
-
getFaceDetection
public IFaceDetection getFaceDetection()
Get an instance offace detection
associated with this environment.- Returns:
- Face detection
- Since:
- 1.0.0
-
getFaceRecognition
public IFaceRecognition getFaceRecognition()
Get an instance offace recognition
associated with this environment.- Returns:
- Face recognition
- Since:
- 1.0.0
-
getUserManagement
public IUserManagement getUserManagement()
Get an instance ofuser management
associated 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
-
-