GenerateQrView
@MainActor
public struct GenerateQrView : View
This struct represents the view for generating a QR code. It includes various text fields and buttons for user input. It also handles error messages and loading indicators.
-
A boolean state variable to control the visibility of the date picker.
Declaration
Swift
@State @MainActor private var showingDatePicker: Bool { get nonmutating set }
-
A boolean state variable to control the visibility of the date of birth picker.
Declaration
Swift
@State @MainActor private var showingDOBPicker: Bool { get nonmutating set }
-
A string state variable to store the ID.
Declaration
Swift
@State @MainActor var id: String { get nonmutating set }
-
A string state variable to store the masked ID.
Declaration
Swift
@State @MainActor var maskId: String { get nonmutating set }
-
A string state variable to store the name.
Declaration
Swift
@State @MainActor var name: String { get nonmutating set }
-
A string state variable to store the nationality.
Declaration
Swift
@State @MainActor var nationality: String { get nonmutating set }
-
A string state variable to store the address.
Declaration
Swift
@State @MainActor var address: String { get nonmutating set }
-
A string state variable to store the password.
Declaration
Swift
@State @MainActor var password: String { get nonmutating set }
-
A string state variable to store the date of issue.
Declaration
Swift
@State @MainActor private var dOfIssue: String { get nonmutating set }
-
A string state variable to store the date of birth.
Declaration
Swift
@State @MainActor var dOfBirth: String { get nonmutating set }
-
A date state variable to store the current date.
Declaration
Swift
@State @MainActor var date: Date { get nonmutating set }
-
A string state variable to store the selected date.
Declaration
Swift
@State @MainActor private var selectedDate: String { get nonmutating set }
-
A string state variable to store the date of birth.
Declaration
Swift
@State @MainActor private var dobDate: String { get nonmutating set }
-
A boolean state variable to enable/disable liveliness.
Declaration
Swift
@State @MainActor var isLivnessEnable: Bool { get nonmutating set }
-
An integer state variable to store the scroll target.
Declaration
Swift
@State @MainActor private var scrollTarget: Int { get nonmutating set }
-
A boolean state variable to control the visibility of empty strings.
Declaration
Swift
@State @MainActor var isShowEmptyString: Bool { get nonmutating set }
-
A state variable to store the focused input.
Declaration
Swift
@FocusState @MainActor var focusedInput: Int? { get nonmutating set }
-
A keyboard responder object to handle keyboard events.
Declaration
Swift
@StateObject @MainActor private var keyboardResponder: KeyboardResponder { get }
-
An array state variable to store the sense print QR code.
Declaration
Swift
@State @MainActor var sensePrintQr: [UInt8] { get nonmutating set }
-
A state variable to store the focused QR field.
Declaration
Swift
@FocusState @MainActor private var focusedField: QRFieldType? { 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 }
-
This view represents the Generate QR View.
Verify SensePrint model.
Declaration
Swift
@MainActor let decryptSensePrintModel: DecryptSensePrintModel
-
Declaration
Swift
@MainActor public var body: some View { get }
-
Generates a SensePrint QR code. Takes all the params and passed it to the face scan screen to genrate the QR code
Declaration
Swift
@MainActor func generateSensePrintQR()
Return Value
None.
-
This function creates the person metadata.
Declaration
Swift
@MainActor func createPersonMetaData() -> [String : String]
-
This function creates the person clear data.
Declaration
Swift
@MainActor func createPersonClearData() -> [String : String]
-
Declaration
Swift
@MainActor func genrationQRFormTestUITestCase()