ActiveCaptureErrorDialog
@MainActor
struct ActiveCaptureErrorDialog : View
This is an alert dialog box the to show on the active face capture screen when error during the face scan happens action happens This dialog box also includes animation
-
Button title.
Declaration
Swift
@MainActor var buttonTitle: String
-
Indicates whether the dialog is active or not.
Declaration
Swift
@Binding @MainActor var isActive: Bool { get nonmutating set }
-
Indicates whether to show obstruction or not.
Declaration
Swift
@MainActor var ShowObstruction: Bool
-
Title of the dialog.
Declaration
Swift
@MainActor var title: String
-
Subtitle of the dialog.
Declaration
Swift
@MainActor var subTitle: String
-
Message of the dialog.
Declaration
Swift
@MainActor var message: String
-
Closure to be called when the close button is tapped.
Declaration
Swift
@MainActor var onTapCloseButton: () -> Void
-
Closure to be called when the retry button is tapped.
Declaration
Swift
@MainActor var onTapRetryButton: () -> Void
-
Indicates whether to show the first animation or not.
Declaration
Swift
@State @MainActor private var showFirstAnimation: Bool { get nonmutating set }
-
Duration of the animation loop.
Declaration
Swift
@MainActor private let animationDuration: TimeInterval
-
Declaration
Swift
@MainActor var body: some View { get }
-
Starts the animation loop.
Declaration
Swift
@MainActor private func startAnimationLoop()