NfcDialogParameters

constructor(initialMessage: String?, interactionFunction: suspend (tag: NfcIsoTag) -> T?, options: NfcScanOptions, context: CoroutineContext)

Parameters

initialMessage

the message to initially show in the dialog or null to not show a dialog at all.

interactionFunction

the function which is called when the tag is in the field.

options

a NfcScanOptions with options to influence scanning.

context

the CoroutineContext to use for calls which blocks the calling thread.