PreScanningForPassiveFaceCapture

@MainActor
struct PreScanningForPassiveFaceCapture : View

This is pre scanning view appears before active face capture view to show the user instruction on how to scan the face

  • TypeView enum to represent the type of view

    Declaration

    Swift

    @MainActor
    var typeView: TypeView?
  • State property for isLoading

    Declaration

    Swift

    @State
    @MainActor
    var isLoading: Bool { get nonmutating set }
  • State property for currentZoomFactor

    Declaration

    Swift

    @State
    @MainActor
    private var currentZoomFactor: CGFloat { get nonmutating set }
  • 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 create a tip card view

    • imageName: The name of the image
    • faceImageName: The name of the face image
    • text: The text to display in the card

    Declaration

    Swift

    @MainActor
    private func tipCard(imageName: String, faceImageName: String, text: String) -> some View

    Return Value

    A view representing the tip card