ID Capture Configuration

This is a more detailed configuration for the Document capture screen

SIDIDCaptureConfig is accessed via a builder pattern using the below method

SIDIDCaptureConfig.Builder()

Once the builder is available then more methods can be used

builder.setIdType

Set your desired id type, this is an instance of IDType enum with options

  • Idcard => Aspect ratio 1.4 or normal credit card sized IDs

  • Passport => Aspect ratio 1.6 or normal passbort booklet sized IDs

  • Other => will default to 1.4 aspect ratio

builder.setPromptBlurry

builder.setPromptDetectingFace

builder.setPromptFaceDetected

builder.setPromptFitID

builder.setPromptFlashMissing

builder.setPromptInsufficientLight

builder.setPromptLoading

builder.setPromptNoFaceDetected

builder.setPromptBackOfIdCapture

builder.setCaptureSide

builder.setCaptureOrientation

builder.setPromptCapturedBlurry

builder.setPromptCapturedDark

builder.build

Last updated