SIDConfig
This is the core part of a Smile ID job configuration which has information on how information should be sent and has 7 main methods
This is the core part of a Smile ID job configuration which has information on how information should be sent and has 7 main methods
This is the core part of a Smile ID job configuration which has information on how information should be sent and has 7 main methods
1.setRetryOnfailurePolicy
Takes a parameter of class RetryOnFailurePolicy which is described below
//instantiate the class
RetryOnFailurePolicy retryOnFailurePolicy = new RetryOnFailurePolicy();
//set the number of times a retry should be attempted before giving up
retryOnFailurePolicy.setRetryCount(10);
//set the spacing in milliseconds between consecutive retries
retryOnFailurePolicy.setRetryTimeout(TimeUnit.SECONDS.toMillis(15));
2.setMode setSmileIdNetData
Takes a parameter of the enum SIDConfig.Mode described below
//auth type jobs eg job type 2 and job type 8
SIDConfig.Mode.AUTHENTICATION
//enroll/register type jobs eg 1 and 4
SIDConfig.Mode.ENROLL
3. setSmileIdNetData