PreScanningForPassiveFaceCapture
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
-
Binding property for path
Declaration
Swift
@Binding var path: Bool { get nonmutating set }
-
Binding property for qrBytes
Declaration
Swift
@Binding var qrBytes: [UInt8] { get nonmutating set }
-
TypeView enum to represent the type of view
Declaration
Swift
var typeView: TypeView?
-
State property for isLoading
Declaration
Swift
@State var isLoading: Bool { get nonmutating set }
-
State property for isBackCamera
Declaration
Swift
@State var isBackCamera: Bool { get nonmutating set }
-
State property for password
Declaration
Swift
var password: String
-
State property for recordId
Declaration
Swift
var recordId: String
-
State property for currentZoomFactor
Declaration
Swift
@State private var currentZoomFactor: CGFloat { get nonmutating set }
-
Presentation mode to dissmiss the view
Declaration
Swift
@Environment var presentationMode: Binding<PresentationMode> { get }
-
Declaration
Swift
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
private func tipCard(imageName: String, faceImageName: String, text: String) -> some View
Return Value
A view representing the tip card