Customising Screens

The SDK has options to customise and change certain parts of the the user journey.

SIDCaptureManager

This is the entrance into Smile ID UI and provides a builder to which you can use the SDK below are the methods for this.

Instantiation

This returned a builder pattern object which can be chained with more methods to further customise the UX

builder = Builder(Activity activity, CaptureType captureType, int requestCode)

setTag

builder.setTag(String tag)

This will take a string parameter which will be an identifier for the images that will be captured via selfie and or document capture screen, it is very important that this be a unique identifier to avoid unexpected behaviour and mixing user data in this or later processes, it's also important to know that this will be returned when the SDK is done with all captures.

setSidSelfieConfig

builder.setSidSelfieConfig

Will set everything related to the selfie screen, more details will be on the SIDSelfieCaptureConfig object methods

setSidIdCaptureConfig

builder.setSidIdCaptureConfig

Will set everything related to the document capture screen, more details will be on the SIDIDCaptureConfig object methods

build

SIDCaptureManager <SIDCaptureManager> = builder.build()

Will return the actual SIDCaptureConfig Screen

Show the UI

<SIDCaptureManager>.start()

This will show the UI to the user

Last updated