DocumentDataExtractorConfiguration

data class DocumentDataExtractorConfiguration(var resultAccumulationConfig: ResultAccumulationConfiguration = ResultAccumulationConfiguration( ), var fieldExcludeList: List<String> = listOf( ), var configurations: List<DocumentDataExtractorConfigurationElement> = listOf( DocumentDataExtractorCommonConfiguration( ) ), var returnCrops: Boolean = false, var documentTrustMode: DocumentTrustMode = DocumentTrustMode.TRUSTED) : Parcelable

Configuration for the document data extractor.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(resultAccumulationConfig: ResultAccumulationConfiguration = ResultAccumulationConfiguration( ), fieldExcludeList: List<String> = listOf( ), configurations: List<DocumentDataExtractorConfigurationElement> = listOf( DocumentDataExtractorCommonConfiguration( ) ), returnCrops: Boolean = false, documentTrustMode: DocumentTrustMode = DocumentTrustMode.TRUSTED)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

List of configuration elements for the document data extractor.

Link copied to clipboard

Level of trust in the authenticity of the extracted document.

Link copied to clipboard

Normalized names of the fields to exclude from the result.

Link copied to clipboard

Configuration for how to accumulate results.

Link copied to clipboard

If true, crops of the detected documents and fields will be returned in the result.

Functions

Link copied to clipboard
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject