@@ -58,6 +58,7 @@ fun setFunctionality(config: Functionality, input: JSONObject) = input.forEach {
5858 " btDeviceName" -> editor.setBtDeviceName(v as String )
5959 " zoomFactor" -> editor.setZoomFactor(v.toFloat())
6060 " exposure" -> editor.setExposure(v.toFloat())
61+ " videoRecordingSizeDownscaleFactor" -> editor.setVideoRecordingSizeDownscaleFactor(v.toFloat())
6162 " excludedCamera2Models" -> editor.setExcludedCamera2Models((v as JSONArray ).toList())
6263 " cameraSize" -> editor.setCameraSize(cameraSizeFromJSON(v as JSONObject ).first, cameraSizeFromJSON(v).second)
6364 }
@@ -92,6 +93,7 @@ fun getFunctionality(input: Functionality) = mapOf(
9293 " btDeviceName" to input.btDeviceName,
9394 " zoomFactor" to input.zoomFactor,
9495 " exposure" to input.exposure,
96+ " videoRecordingSizeDownscaleFactor" to input.videoRecordingSizeDownscaleFactor,
9597 " excludedCamera2Models" to input.excludedCamera2Models.toJson(),
9698 " cameraSize" to generateCameraSize(input.cameraWidth, input.cameraHeight)
9799).toJson()
@@ -138,6 +140,7 @@ fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEa
138140 " strictDLCategoryExpiry" -> processParams.strictDLCategoryExpiry = v as Boolean
139141 " generateAlpha2Codes" -> processParams.generateAlpha2Codes = v as Boolean
140142 " disableAuthResolutionFilter" -> processParams.disableAuthResolutionFilter = v as Boolean
143+ " strictSecurityChecks" -> processParams.strictSecurityChecks = v as Boolean
141144 " measureSystem" -> processParams.measureSystem = v.toInt()
142145 " barcodeParserType" -> processParams.barcodeParserType = v.toInt()
143146 " perspectiveAngle" -> processParams.perspectiveAngle = v.toInt()
@@ -223,6 +226,7 @@ fun getProcessParams(processParams: ProcessParam) = mapOf(
223226 " strictDLCategoryExpiry" to processParams.strictDLCategoryExpiry,
224227 " generateAlpha2Codes" to processParams.generateAlpha2Codes,
225228 " disableAuthResolutionFilter" to processParams.disableAuthResolutionFilter,
229+ " strictSecurityChecks" to processParams.strictSecurityChecks,
226230 " measureSystem" to processParams.measureSystem,
227231 " barcodeParserType" to processParams.barcodeParserType,
228232 " perspectiveAngle" to processParams.perspectiveAngle,
0 commit comments