QrBytesListener

protocol QrBytesListener

This protocol defines a set of methods that a class or struct can adopt to act as a listener for QR bytes during SensePrint scanning.

  • This method is called when the QR bytes are successfully scanned along with the associated SensePrintInfo.

    Declaration

    Swift

    func execute(sensePrintInfo: SensePrintInfo, qrBytes: [UInt8])
  • This method is called to navigate to the clear data screen with the provided data dictionary.

    Declaration

    Swift

    func naviageToClearData(data: [String : String])
  • This method is called to show an error message indicating that the scanned QR code is invalid.

    Declaration

    Swift

    func showInvalidQr()
  • This method is called to show an error message indicating that the license has expired.

    Declaration

    Swift

    func showLicenseExpired()
  • This method is called to show a password dialog for further authentication.

    Declaration

    Swift

    func showPasswordDialog()
  • This method is called to show an error message indicating that the app cannot connect to the home server.

    Declaration

    Swift

    func showCannotConnectToHomeServer()
  • This method is called to show an error message indicating that the verification limit has been exceeded.

    Declaration

    Swift

    func showVerificationExceed()
  • This method is called to show an error message indicating that the generation limit has been exceeded.

    Declaration

    Swift

    func ShowGenrationExceed()
  • This method is called to show an error message indicating that the number of available instances has been exceeded.

    Declaration

    Swift

    func noOfAvlInstanceExceed()
  • This method is called to show an error message indicating that the signature verification has failed.

    Declaration

    Swift

    func showSignatureVerificationFailed()
  • This method is called to show an error message indicating a network error.

    Declaration

    Swift

    func networkError()