NfcTravelDocumentReaderFragment

UI NFC Travel Document Reader component.

A visual component for reading NFC Travel Documents.

Constructors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class Configuration @JvmOverloads constructor(val nfcKey: NfcKey, val authorityCertificatesFilePath: String? = null, val activeAuthenticationChallenge: ByteArray? = null, debugInfoEnabled: Boolean = false) : Serializable

Configuration of NFC reading for NfcTravelDocumentReaderFragment.

Functions

Link copied to clipboard
open override fun onCreate(savedInstanceState: Bundle?)
Link copied to clipboard
open override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View
Link copied to clipboard
abstract fun onFailed(exception: Exception)

Subclasses must override this function to handle NFC reading failure.

Link copied to clipboard
abstract fun onSucceeded(travelDocument: TravelDocument)

Subclasses must override this function to handle successful NFC document reading.

Link copied to clipboard
open override fun onViewCreated(view: View, savedInstanceState: Bundle?)
Link copied to clipboard

Subclasses should override this method to provide Configuration for the NFC reader.