TrustX
Preview
Welcome
Getting Started
Orchestration Layer
Document Capture
Face Capture
NFC Capture
Authentication
Integrity Signals
Watchlists
Integration Hub
Session Information
API Integration
Release Notes
Platform Information
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
iOS NFC Native Interface
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
DocumentProcessor
| Class Name | Description |
|---|---|
| DocumentProcessor | The DocumentProcessor class is a processor used to OCR MRZ data from document images and perform NFC reading of passports. |
Instance Methods
| Method Name | Description |
|---|---|
func cancel(withMessage: String?) | Cancels any ongoing MRZ OCR or NFC scanning operations. |
func isNfcSupported() -> Bool | Determines whether NFC scanning is supported with the current device and operating system configuration. |
func performMrzOcr(image: String, onCompletion: (_ isValid: Bool, _ mrz: String?) -> Void) | Performs MRZ OCR on the provided image. |
func performNfcScan(documentNumber: String, dateOfBirth: String, dateOfExpiry: String, challenge: [UInt8]?, onCompletion: (Error?, DaonDocumentProcessorResult?) -> Void) | Performs NFC scanning using the provided bac access control parameters. |
func performNfcScan(mrzString: String, challenge: [UInt8]?, onCompletion: (Error?, DaonDocumentProcessorResult?) -> Void) | Performs NFC scanning using the provided mrz string. |
Relationships
Inherits From
ObjectiveC.NSObject
Conforms To
DaonTrustSDK.DaonDocumentProcessorModuleObjectiveC.NSObjectProtocolSwift.CVarArgSwift.CopyableSwift.CustomDebugStringConvertibleSwift.CustomStringConvertibleSwift.EquatableSwift.Hashable
DocumentProcessor.Builder
| Class Name | Description |
|---|---|
| DocumentProcessor.Builder | The Builder class allows you to construct an instance of DocumentProcessor with specific settings. |
Instance Methods
| Method Name | Description |
|---|---|
func build() throws -> DocumentProcessor | Builds the final DocumentProcessor instance which you can use to scan your document. |
func setErrorDialogMessage(String) -> Builder | If a custom or default error message is desired, it can be set using this method. Otherwise, if left unset, the SDK will return an error message obtained from the error.localizedDescription property. |
func setLicense(String) -> Builder | Used to set the license string that is mandatory in order for Trust SDK features to work. |
Relationships
Inherits From
ObjectiveC.NSObject
Conforms To
ObjectiveC.NSObjectProtocolSwift.CVarArgSwift.CustomDebugStringConvertibleSwift.CustomStringConvertibleSwift.EquatableSwift.Hashable
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Next to read:
iOS Trust SDK Release NotesDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message