ActiveCaptureErrorDialog

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

    var buttonTitle: String
  • Indicates whether the dialog is active or not.

    Declaration

    Swift

    @Binding
    var isActive: Bool { get nonmutating set }
  • Indicates whether to show obstruction or not.

    Declaration

    Swift

    var ShowObstruction: Bool
  • Title of the dialog.

    Declaration

    Swift

    var title: String
  • Subtitle of the dialog.

    Declaration

    Swift

    var subTitle: String
  • Message of the dialog.

    Declaration

    Swift

    var message: String
  • Closure to be called when the close button is tapped.

    Declaration

    Swift

    var onTapCloseButton: () -> Void
  • Closure to be called when the retry button is tapped.

    Declaration

    Swift

    var onTapRetryButton: () -> Void
  • Indicates whether to show the first animation or not.

    Declaration

    Swift

    @State
    private var showFirstAnimation: Bool { get nonmutating set }
  • Duration of the animation loop.

    Declaration

    Swift

    private let animationDuration: TimeInterval
  • Declaration

    Swift

    var body: some View { get }
  • Starts the animation loop.

    Declaration

    Swift

    private func startAnimationLoop()