Configurations
This section contains the possible genuine presence detector view configurations.
title: String?
Determines the activity title.
stringsBundle: Bundle?
Determines the strings bundle used.
stringTable: String?
Determines the strings table used.
titleTextColor
Determines the title text color.
Defaults to UIColor.white.
headerBackgroundColor: UIColor
Determines the header background color. Defaults to nil.
filter: Filter
Determines the filter applied to the scanner.
Defaults to LineDrawingFilter().
surroundColor: UIColor
Determines the frame color.
Defaults to UIColor.black.withAlphaComponent(0.4).
font: String
Determines the font used.
logoImage: UIImage?
Determines the logo image shown.
closeButtonTintColor: UIColor?
Determines the close button tint color.
closeButtonImage: UIImage?
Determines the close button image shown.
promptTextColor: UIColor?
Determines the result prompt text color.
Defaults to UIColor.white.
promptBackgroundColor: UIColor?
Determines the result prompt background color. Defaults to UIColor.black.withAlphaComponent(0.8).
promptRoundedCorners: Bool
Determines if the result prompt should show rounded corners or not.
Defaults to true.
disableExteriorEffects: Bool
Determines the exterior frame effects visibility.
Defaults to false.
certificates: List<Certificate>
Determines de certificates used to validate the scanned face.
Defaults to null.
timeout: TimeInterval?
Determines the time the activity will wait before closing if no face is detected.
Defaults to 10.
Was this helpful?