PreScanningForActiveFaceCapture
@MainActor
struct PreScanningForActiveFaceCapture : View
This is pre scanning view appears before active face capture view to show the user instruction on how to scan the face
-
State variable to control the first animation
Declaration
Swift
@State @MainActor private var showFirstAnimation: Bool { get nonmutating set }
-
Duration of the animation
Declaration
Swift
@MainActor private let animationDuration: TimeInterval
-
Type of view (qrGeneratorView or qrScannerView)
Declaration
Swift
@MainActor var typeView: TypeView?
-
This EnvironmentObject navigationStore give access to all the view we want to navigate to and from It can be used to pop and push the view in the stack.
Declaration
Swift
@EnvironmentObject @MainActor private var navigationStore: NavigationStackController { get }
-
Stored value for generating QRcode
Declaration
Swift
@MainActor let genrateQRModel: GenerateSensePrintModel
-
Verify SensePrint model.
Declaration
Swift
@MainActor let decryptSensePrintModel: DecryptSensePrintModel
-
Declaration
Swift
@MainActor var body: some View { get }
-
Function to start the animation loop
Declaration
Swift
@MainActor private func startAnimationLoop()