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)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Document number redaction settings.

Link copied to clipboard

Fields to be redacted.

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.

Link copied to clipboard

Defines whether the MRZ result should be redacted. Defaults to false.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)