Initialization
This section contains the necessary methods to init BiometridOn.
In order to use any of the SDK functionalities, the application needs to initialize it first, using the credentials provided during the enrollment on our platform (see prerequisites section above).
Parameter
Description
url: String
App credential provided
app: String
Credential provided
credential: String
URL credential provided
language: Language?
Language enum
customHeaders: [String: String]?
Custom headers
sentryDNS: String?
DNS for Sentry, if null or empty not used.
callback: InitializationCallback
callback
Customization:
In case user need to customize the view of SDK, we provide a setter to change the customization parameter.
Process Id:
In case user need to change the process id, we provide a setter to change the id of the current process.
Implementation example
Callback params
Parameter
Description
status: Bool
Method request status
error: Errors?
Errors associated enum
Was this helpful?