ndefReadMessage

suspend fun ndefReadMessage(wtInt: Int = 0, nWait: Int = 0): NdefMessage

Reads NDEF data according to NFC Forum Type 4 Tag section 7.5.4.

Return

the message that was read.

Parameters

wtInt

Minimum waiting time as per NFC Forum Tag NDEF Exchange Protocol section 4.1.6.

nWait

Maximum number of waiting time extensions as per NFC Forum Tag NDEF Exchange Protocol section 4.1.7.