Builder

data class Builder(var showProgressBar: Boolean = false, var showFaceStatusLabel: Boolean = false, var showCountdownTimerLabel: Boolean = false, var textLocalizations: MBTextLocalizations = MBTextLocalizations(), var textLocalizationBoundingBox: MBTextLocalizationsBoundingBox = MBTextLocalizationsBoundingBox(), var shouldShowOverlayFaceView: Boolean = false)

Builder class for creating instances of MBUIOptions with customized options.

Constructors

Link copied to clipboard
constructor(showProgressBar: Boolean = false, showFaceStatusLabel: Boolean = false, showCountdownTimerLabel: Boolean = false, textLocalizations: MBTextLocalizations = MBTextLocalizations(), textLocalizationBoundingBox: MBTextLocalizationsBoundingBox = MBTextLocalizationsBoundingBox(), shouldShowOverlayFaceView: Boolean = false)

Properties

Link copied to clipboard

Indicates whether the countdown timer label should be visible. Default is false.

Link copied to clipboard

Indicates whether the face status label should be visible. Default is false.

Link copied to clipboard

Indicates whether the progress bar should be visible. Default is false.

Link copied to clipboard

Localized text options for UI elements for the face capture sdk based on the bounding box constrains.

Link copied to clipboard

Localized text options for UI elements for the face capture sdk based on the landmarks constrains.

Functions

Link copied to clipboard

Build an instance of MBUIOptions with the configured options.

Link copied to clipboard
fun countdownTimerLabel(showCountdownTimerLabel: Boolean): <Error class: unknown class>

Set the visibility of the countdown timer label.

Link copied to clipboard
fun faceStatusLabel(showFaceStatusLabel: Boolean): <Error class: unknown class>

Set the visibility of the face status label.

Link copied to clipboard
fun overlayFaceView(shouldShowOverlayFaceView: Boolean): <Error class: unknown class>
Link copied to clipboard
fun progressBar(showProgressBar: Boolean): <Error class: unknown class>

Set the visibility of the progress bar.

Link copied to clipboard
fun textLocalization(textLocalizations: MBTextLocalizations): <Error class: unknown class>

Set the text localizations for UI elements for the face capture sdk based on the landmarks constrains.

Link copied to clipboard
fun textLocalizationBondingBox(textLocalizationsBoundingBox: MBTextLocalizationsBoundingBox): <Error class: unknown class>

Set the text localizations for UI elements for the face capture sdk based on the bounding box constrains.