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?
Android NFC Native Interface
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
TrustNFCManager
| Class Name | Description |
|---|---|
| class TrustNFCManager : ITrustNFCManager | The NFC Manager main class used as a bridge mechanism between the SDK that integrates it and the NFC SDK processing. |
Constructors
| Constructor |
|---|
| TrustNFCManager |
Types
| Class Name | Description |
|---|---|
| class Builder | Used to provide the setter functions for NFC SDK configuration parameters. |
Functions
| Method Name | Description |
|---|---|
| dismissDialog (activity: AppCompatActivity) | Used to dismiss the NFC dialog that is used to show the current progress of NFC scanning process. |
| extractMRZ (documentImage: Bitmap, listener: IOCRListener) | Used to provide the Bitmap image from which the MRZ data can be extracted. |
| String getNFCVersion() | Used to get the version of the NFC SDK. |
| Boolean isAvailable (activity: AppCompatActivity) | Used to check if NFC functionality is available on the device. |
| Boolean isEnabled (activity: AppCompatActivity) | Used to check if NFC functionality is enabled on the device. |
| onNewIntent(intent: Intent) | Used to provide the intent which can be used to trigger the NFC scanning process. |
| setHandler(handler: IBaseNativeToWeb) | Used to set the handler instance which will be used for further communication. |
| startNFCReading( activity: AppCompatActivity, nfcConfigData: DaonNFCConfiguration, nfcDialogCallback: INFCDialogCallback?) | Used to provide the necessary parameters for NFC reading process. |
| updateLocalization(languageTag: String) | Used to update the localization of NFC dialog and its information labels. |
DaonNFCConfiguration
| Class Name | Description |
|---|---|
data class DaonNFCConfiguration(
val mrzString: String?,
val aaChallenge: String?,
val bac: DaonTrustBAC?,
val languageTag: String = "",
val localizationLabels: Map<String, String>? = null) : Parcelable | DaonNFCConfiguration class represents the data necessary for NFC reading process. |
Parameters
| Parameter Name | Description |
|---|---|
| mrzString | String representation of MRZ data on the document |
| aaChallenge | String representation challenge used for Active Authentication verification process |
| bac | DaonTrustBAC instance |
Constructor
| Constructor | |
|---|---|
| DaonNFCConfiguration | constructor( mrzString: String?, aaChallenge: String?, bac: DaonTrustBAC?, languageTag: String = "", localizationLabels: Map<String, String>? = null ) |
Properties
| Constructor | |
|---|---|
| aaChallenge | @SerializedName(value = "aac") val aaChallenge: String? |
| bac | @SerializedName(value = "bac") val bac: DaonTrustBAC? |
| languageTag | @SerializedName(value = "language") val languageTag: String |
| localizationLabels | @SerializedName(value = "labels") val localizationLabels: Map<String, String>? = null |
| mrzString | @SerializedName(value = "mrz") val mrzString: String? |
Functions
| Function Name | Description |
|---|---|
| int describeContents() | |
| writeToParcel(p0: Parcel, p1: Int) |
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Next to read:
Android 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