Initialization
This section contains the necessary methods to init Biometrid Standard.
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
String BIOMETRID_APP
Application key provided
String BIOMETRID_CREDENTIAL
Credential provided
String BIOMETRID_SERVER_URL
URL credential provided
Language language
Language enum
HashMap<String, String> HashMap
Custom Headers
InitializationCallback callback
Result callback
The method above requires the callback to be linked with an activity to obtain the application Context, however this method is not required. When implementing the InitializationCallback outside of an activity, prefer using the following method:
Parameter
Description
String BIOMETRID_APP
Application key provided
String BIOMETRID_CREDENTIAL
Credential provided
String BIOMETRID_SERVER_URL
URL credential provided
Language language
Language enum
HashMap<String, String> HashMap
Custom Headers
InitializationCallback callback
Result callback
Context context
Context of your app
Implementation example
Callback params
Parameter
Description
Boolean status
Receive status on initialization
Errors error
Errors associated enum
Was this helpful?