@@ -51,6 +51,7 @@ fun setFunctionality(config: Functionality, input: JSONObject) = input.forEach {
5151 " manualMultipageMode" -> editor.setManualMultipageMode(v as Boolean )
5252 " torchTurnedOn" -> editor.setTorchTurnedOn(v as Boolean )
5353 " preventScreenRecording" -> editor.setPreventScreenRecording(v as Boolean )
54+ " hideStatusBar" -> editor.setHideStatusBar(v as Boolean )
5455 " showCaptureButtonDelayFromDetect" -> editor.setShowCaptureButtonDelayFromDetect(v.toLong())
5556 " showCaptureButtonDelayFromStart" -> editor.setShowCaptureButtonDelayFromStart(v.toLong())
5657 " orientation" -> editor.setOrientation(v.toInt())
@@ -88,6 +89,7 @@ fun getFunctionality(input: Functionality) = mapOf(
8889 " manualMultipageMode" to input.isManualMultipageMode,
8990 " torchTurnedOn" to input.isTorchTurnedOn,
9091 " preventScreenRecording" to input.doPreventScreenRecording(),
92+ " hideStatusBar" to input.doHideStatusBar(),
9193 " showCaptureButtonDelayFromDetect" to input.showCaptureButtonDelayFromDetect,
9294 " showCaptureButtonDelayFromStart" to input.showCaptureButtonDelayFromStart,
9395 " orientation" to input.orientation,
@@ -129,7 +131,6 @@ fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEa
129131 " updateOCRValidityByGlare" -> processParams.updateOCRValidityByGlare = v as Boolean
130132 " noGraphics" -> processParams.noGraphics = v as Boolean
131133 " multiDocOnImage" -> processParams.multiDocOnImage = v as Boolean
132- " forceReadMrzBeforeLocate" -> processParams.forceReadMrzBeforeLocate = v as Boolean
133134 " parseBarcodes" -> processParams.parseBarcodes = v as Boolean
134135 " shouldReturnPackageForReprocess" -> processParams.shouldReturnPackageForReprocess = v as Boolean
135136 " disablePerforationOCR" -> processParams.disablePerforationOCR = v as Boolean
@@ -153,6 +154,7 @@ fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEa
153154 " strictExpiryDate" -> processParams.strictExpiryDate = v as Boolean
154155 " debugSaveBinarySession" -> processParams.debugSaveBinarySession = v as Boolean
155156 " checkVDS" -> processParams.checkVDS = v as Boolean
157+ " strictAgeCheck" -> processParams.strictAgeCheck = v as Boolean
156158 " measureSystem" -> processParams.measureSystem = v.toInt()
157159 " barcodeParserType" -> processParams.barcodeParserType = v.toInt()
158160 " perspectiveAngle" -> processParams.perspectiveAngle = v.toInt()
@@ -222,7 +224,6 @@ fun getProcessParams(processParams: ProcessParam) = mapOf(
222224 " updateOCRValidityByGlare" to processParams.updateOCRValidityByGlare,
223225 " noGraphics" to processParams.noGraphics,
224226 " multiDocOnImage" to processParams.multiDocOnImage,
225- " forceReadMrzBeforeLocate" to processParams.forceReadMrzBeforeLocate,
226227 " parseBarcodes" to processParams.parseBarcodes,
227228 " shouldReturnPackageForReprocess" to processParams.shouldReturnPackageForReprocess,
228229 " disablePerforationOCR" to processParams.disablePerforationOCR,
@@ -246,6 +247,7 @@ fun getProcessParams(processParams: ProcessParam) = mapOf(
246247 " strictExpiryDate" to processParams.strictExpiryDate,
247248 " debugSaveBinarySession" to processParams.debugSaveBinarySession,
248249 " checkVDS" to processParams.checkVDS,
250+ " strictAgeCheck" to processParams.strictAgeCheck,
249251 " measureSystem" to processParams.measureSystem,
250252 " barcodeParserType" to processParams.barcodeParserType,
251253 " perspectiveAngle" to processParams.perspectiveAngle,
@@ -753,6 +755,7 @@ fun setLivenessParams(input: LivenessParams, opts: JSONObject) = opts.forEach {
753755 " checkBlackAndWhiteCopy" -> input.checkBlackAndWhiteCopy = v as Boolean
754756 " checkDynaprint" -> input.checkDynaprint = v as Boolean
755757 " checkGeometry" -> input.checkGeometry = v as Boolean
758+ " checkBarcodeBackground" -> input.checkBarcodeBackground = v as Boolean
756759 }
757760}
758761
@@ -765,6 +768,7 @@ fun getLivenessParams(input: LivenessParams?) = input?.let {
765768 " checkBlackAndWhiteCopy" to input.checkBlackAndWhiteCopy,
766769 " checkDynaprint" to input.checkDynaprint,
767770 " checkGeometry" to input.checkGeometry,
771+ " checkBarcodeBackground" to input.checkBarcodeBackground,
768772 ).toJson()
769773}
770774
0 commit comments