VerIDFactory
@objc
public class VerIDFactory : NSObject
Ver-ID environment factory
-
Delegate that will be called when the environment is created
Declaration
Swift
@objc public weak var delegate: VerIDFactoryDelegate? -
Face detection factory
Declaration
Swift
@objc public var faceDetectionFactory: FaceDetectionFactory { get set } -
Face recognition factory
Declaration
Swift
@objc public var faceRecognitionFactory: FaceRecognitionFactory { get set } -
User management factory
Declaration
Swift
@objc public var userManagementFactory: UserManagementFactory -
Constructor
Declaration
Swift
@objc public init(userManagementFactory: UserManagementFactory)Parameters
userManagementFactoryUser management factory instance
-
Constructor
Declaration
Swift
public override convenience init() -
Start creating Ver-ID instance
The creation completion will be reported to the factory delegate.
Declaration
Swift
@objc public func createVerID() -
Create Ver-ID instance synchronously
Note
This may take up to a few seconds. Never call this method on the main thread.Since
1.9.0Declaration
Swift
@objc public func createVerIDSync() throws -> VerIDReturn Value
Instance of VerID
-
Create Ver-ID instance
The creation completion will be reported to the factory delegate.
Declaration
Swift
public func createVerID(completion: ((Result<VerID, Error>) -> Void)?)Parameters
completionOptional callback when the creation succeeds.
-
Constructor
Since
1.10.0Declaration
Swift
@available(iOS 10.3, *) @objc convenience init(veridPassword: String)Parameters
veridPasswordPassword to unlock Ver-ID identity p12 file
-
Constructor
Since
1.11.0Declaration
Swift
@available(iOS 10.3, *) @objc convenience init(identity: VerIDIdentity)Parameters
identityYour app’s Ver-ID SDK identity created from credentials received after registering your app with Ver-ID
VerIDFactory Class Reference