Package-level declarations

Types

Link copied to clipboard
data class CardNumberRedactionSettings(val mode: RedactionMode = RedactionMode.FullResult, val prefixDigitsVisible: UByte, val suffixDigitsVisible: UByte) : Parcelable

Holds the settings which control card number redaction.

Link copied to clipboard
data class CroppedImageSettings(var dotsPerInch: UShort, @FloatRange(from = 0.0, to = 1.0) var extensionFactor: Float = 0.0f, var returnCardImage: Boolean = false) : Parcelable

Represents the image cropping settings.

Link copied to clipboard
data class ExtractionSettings(val extractIban: Boolean = true, val extractExpiryDate: Boolean = true, val extractCardholderName: Boolean = true, val extractCvv: Boolean = true, val extractInvalidCardNumber: Boolean = false) : Parcelable

Controls which fields and images should be extracted from the payment card.

Link copied to clipboard
data class LivenessSettings(@FloatRange(from = 0.0, to = 1.0) val handToCardSizeRatio: Float = 0.15f, @FloatRange(from = 0.0, to = 1.0) val handCardOverlapThreshold: Float = 0.05f, val enableCardHeldInHandCheck: Boolean = true, val screenCheckStrictnessLevel: StrictnessLevel = StrictnessLevel.Level5, val photocopyCheckStrictnessLevel: StrictnessLevel = StrictnessLevel.Level5) : Parcelable

Configuration settings for liveness detection during card scanning.

Link copied to clipboard
data class OtaResourcesConfig(val checkForUpdates: Boolean = true, val strict: Boolean = false, val serviceUrl: String = defaultOtaDownloadUrl, val localFolder: String = defaultOtaResourcesLocalFolder, val requestTimeout: RequestTimeout = RequestTimeout.DEFAULT) : Parcelable

Configuration for over-the-air (OTA) resource downloads and local storage.

Link copied to clipboard

RedactionMode is used to define level of redaction performed on recognizer result.

Link copied to clipboard
data class RedactionSettings(val cardNumberRedactionSettings: CardNumberRedactionSettings = CardNumberRedactionSettings(), val cvvRedactionMode: RedactionMode = RedactionMode.FullResult, val ibanRedactionMode: RedactionMode = RedactionMode.None, val cardholderNameRedactionMode: RedactionMode = RedactionMode.None) : Parcelable

Holds the settings which control the redaction of returned data.

Link copied to clipboard
data class ResourcesConfig(val download: Boolean = true, val serviceUrl: String = defaultResourceDownloadUrl, val localFolder: String = defaultResourcesLocalFolder, val requestTimeout: RequestTimeout = RequestTimeout.DEFAULT) : Parcelable

Configuration for SDK resource downloads and local storage.

Link copied to clipboard
data class ScanningSettings(val skipImagesWithBlur: Boolean = true, val tiltSensitivityLevel: SensitivityLevel = SensitivityLevel.Mid, val inputImageMargin: Float = 0.02f, val extractionSettings: ExtractionSettings = ExtractionSettings(), val croppedImageSettings: CroppedImageSettings = CroppedImageSettings(), val livenessSettings: LivenessSettings = LivenessSettings(), val redactionSettings: RedactionSettings = RedactionSettings()) : Parcelable

Represents the configurable settings for scanning a card.

Link copied to clipboard

Represents the sensitivity levels for card image quality analysis.

Link copied to clipboard

Defines the strictness level used by various models to control detection sensitivity.