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.ENROLL3. setSmileIdNetData
�
Takes a parameter of the class SIDNetData described below
4. � setGeoInformation
Takes a parameter of class GeoInfos described below
5. � setSIDMetadata
�Takes a parameter of class SIDMetadata which is is an object used to send two different kinds of metadata the first one being the User id information and partner parameters which can be associated with jobs to instantiate the metadata object you do the below
For more information on this checkout this guide
5. � setJobType
Takes an integer parameter and sets the job type for more information on this checkout this guide on job types
6. useIdCard
Takes a boolean parameter confirming if this job has an id card image associated with it
7. (Optional) Set a callback url
From version 6.4.2 there is added functionality to set custom callback using the SDK, this can be done by using the SIDNetData class. After setting the other settings in this class then call the methodsetCallBackUrl as in the example below
If the call back URL is not set from the SDK it will always default to the setting on the backend.
More information on callback URL can be found here
SIDConfig SUMMARY
�Submit The Job
Last updated
Was this helpful?

