Question

We want to build an NFC reading progress bar into our NFC reading app. How can we determine how much data has been read?


Answer

You have two options

1. Use non-UI component and use your own UI:

https://innovatrics.github.io/dot-android-sdk-api-docs/nfc/latest/dot-nfc/com.innovatrics.dot.nfc/-nfc-travel-document-reader/index.html

If you want a progress, you can use funtion read() which includes callbacks.

2. Use our UI component and define custom layout for it. This is available since SDK version 8.3.2. It is described here (2. Providing a custom view):

https://innovatrics.github.io/dot-android-sdk-api-docs/nfc/latest/dot-nfc/com.innovatrics.dot.nfc.reader.ui/-nfc-travel-document-reader-fragment/index.html


Relevant Product / Version

DOT NFC SDK