Instance Property

ndefMessagePayload

The NDEF message read by the system in the background.

Declaration

var ndefMessagePayload: NFCNDEFMessage { get }

Discussion

For user activities not generated by background tag reading, ndefMessagePayload returns a message that contains only one NFCNDEFPayload record. That record has a typeNameFormat of NFCTypeNameFormat.empty. For more information, see Adding Support for Background Tag Reading.