NfcDialogParameters
class NfcDialogParameters<out T>(val initialMessage: String?, val interactionFunction: suspend (tag: NfcIsoTag) -> T?, val options: NfcScanOptions, val context: CoroutineContext)
Parameters needed for UI to display and run NFC dialog. See org.multipaz.nfc.NfcTagReader.scan for more information.
Constructors
Link copied to clipboard
constructor(initialMessage: String?, interactionFunction: suspend (tag: NfcIsoTag) -> T?, options: NfcScanOptions, context: CoroutineContext)
Properties
Link copied to clipboard
the CoroutineContext to use for calls which blocks the calling thread.
Link copied to clipboard
the message to initially show in the dialog or null to not show a dialog at all.
Link copied to clipboard
the function which is called when the tag is in the field.
Link copied to clipboard
a NfcScanOptions with options to influence scanning.