RedactionSettings
data class RedactionSettings(val redactionMode: RedactionMode = RedactionMode.FullResult, val fields: List<FieldType>, val documentNumberRedactionSettings: DocumentNumberRedactionSettings?, val redactMrz: Boolean = false, val redactBarcode: Boolean = false) : Parcelable
Represents the document redaction settings.
Constructors
Link copied to clipboard
constructor(redactionMode: RedactionMode = RedactionMode.FullResult, fields: List<FieldType>, documentNumberRedactionSettings: DocumentNumberRedactionSettings?, redactMrz: Boolean = false, redactBarcode: Boolean = false)
Properties
Link copied to clipboard
Document number redaction settings.
Link copied to clipboard
Defines whether the barcode result should be redacted. Defaults to false.
Link copied to clipboard
The mode of redaction applied to the document. Redact specific fields based on requirements or laws regarding a specific document. Data can be redacted from the image, the result or both. The default value is RedactionMode.FullResult, which means that all fields will be redacted from the result, but not from the image.