Setting up the SDK
private fun buildDocumentDetector(): DocumentDetector? =
DocumentDetector.Builder("mobileToken")
.setDocumentCaptureFlow(
arrayOf(
DocumentDetectorStep(Document.CNH_FRONT),
DocumentDetectorStep(Document.CNH_BACK),
)
)
.setPersonId("personId")
.build()Last updated

