VerIDFactory

Ver-ID environment factory

Package com.appliedrec.verid.core

public class VerIDFactory

Constructors

VerIDFactory

Introduced in version 1.0.0

public VerIDFactory(Context, VerIDFactoryDelegate)

Constructor

Parameters

context android.content.Context
Application context
delegate com.appliedrec.verid.core.VerIDFactoryDelegate
Delegate that will be notified of the creation events

VerIDFactory

Introduced in version 1.16.0

public VerIDFactory(Context, String, VerIDFactoryDelegate)

Constructor

Parameters

context android.content.Context
Application context
veridPassword java.lang.String
Ver-ID password (received after registering your app on the Ver-ID developer website)
delegate com.appliedrec.verid.core.VerIDFactoryDelegate
Delegate that will be notified of the creation events

See also

VerIDFactory

Introduced in version 1.16.0

public VerIDFactory(Context, String)

Constructor

Parameters

context android.content.Context
Application context
veridPassword java.lang.String
Ver-ID password (received after registering your app on the Ver-ID developer website)

See also

VerIDFactory

Introduced in version 1.19.0

public VerIDFactory(Context, VerIDSDKIdentity, VerIDFactoryDelegate)

Constructor

Parameters

context android.content.Context
Application context
identity VerIDSDKIdentity
Your app's Ver-ID SDK identity (created from credentials received after registering your app on the Ver-ID developer website)
delegate com.appliedrec.verid.core.VerIDFactoryDelegate
Delegate that will be notified of the creation events

VerIDFactory

Introduced in version 1.19.0

public VerIDFactory(Context, VerIDSDKIdentity)

Constructor

Parameters

context android.content.Context
Application context
identity VerIDSDKIdentity
Your app's Ver-ID SDK identity (created from credentials received after registering your app on the Ver-ID developer website)

VerIDFactory

Introduced in version 1.16.0

public VerIDFactory(Context)

Constructor

Parameters

context android.content.Context
Application context

Methods

setVeridPassword

Introduced in version 1.16.0

public setVeridPassword(String)

Set Ver-ID password

Parameters

veridPassword java.lang.String
Ver-ID password received after registering your app on the Ver-ID developer website

setIdentity

Introduced in version 1.19.0

public setIdentity(VerIDSDKIdentity)

Set your app's Ver-ID SDK identity

Parameters

identity VerIDSDKIdentity
Identity created from credentials received after registering your app on the Ver-ID developer website

setFaceDetectionFactory

Introduced in version 1.0.0

public setFaceDetectionFactory(IFaceDetectionFactory)

Set the factory that will create an instance of com.appliedrec.verid.core.IFaceDetection.html.

Parameters

faceDetectionFactory com.appliedrec.verid.core.IFaceDetectionFactory
Face detection factory

getFaceDetectionFactory

Introduced in version 1.15.0

public getFaceDetectionFactory()

Get the factory that will create an instance of com.appliedrec.verid.core.IFaceDetection.html.

Returns

com.appliedrec.verid.core.IFaceDetectionFactory
Face detection factory

setFaceRecognitionFactory

Introduced in version 1.0.0

public setFaceRecognitionFactory(IFaceRecognitionFactory)

Set the factory that will create an instance of com.appliedrec.verid.core.IFaceRecognition.html.

Parameters

faceRecognitionFactory com.appliedrec.verid.core.IFaceRecognitionFactory
Face recognition factory

getFaceRecognitionFactory

Introduced in version 1.15.0

public getFaceRecognitionFactory()

Get the factory that will create an instance of com.appliedrec.verid.core.IFaceRecognition.html.

Returns

com.appliedrec.verid.core.IFaceRecognitionFactory
Face recognition factory

setUserManagementFactory

Introduced in version 1.0.0

public setUserManagementFactory(IUserManagementFactory)

Set the factory that will create an instance of com.appliedrec.verid.core.IUserManagement.html.

Parameters

userManagementFactory com.appliedrec.verid.core.IUserManagementFactory
User management factory

getUserManagementFactory

Introduced in version 1.15.0

public getUserManagementFactory()

Get the factory that will create an instance of com.appliedrec.verid.core.IUserManagement.html.

Returns

com.appliedrec.verid.core.IUserManagementFactory
User management factory

setDelegate

Introduced in version 1.0.0

public setDelegate(VerIDFactoryDelegate)

Set the delegate that will be notified of the creation events.

Parameters

delegate com.appliedrec.verid.core.VerIDFactoryDelegate
Delegate

getDelegate

Introduced in version 1.0.0

public getDelegate()

Get the delegate that will be notified of the creation events.

Returns

com.appliedrec.verid.core.VerIDFactoryDelegate
Delegate

createVerID

Introduced in version 1.0.0

public final createVerID()

Start the creation of an instance of the Ver-ID environment.

When the environment is created the delegate will receive the veridFactoryDidCreateEnvironment callback.

If the environment creation fails the delegate will receive the veridFactoryDidFailWithException callback.

createVerIDSync

Introduced in version 1.13.0

public final createVerIDSync()

Create a Ver-ID instance synchronously. This method must be called on a background thread.

Returns

com.appliedrec.verid.core.VerID
Instance of VerID

Throws

java.lang.Exception
If the instance creation fails