Class

NFCNDEFMessage

An NFC NDEF message consisting of an array of payload records.

Declaration

class NFCNDEFMessage : NSObject

Topics

Creating an NDEF Message

init(records: [NFCNDEFPayload])

Creates an NDEF message with the specified records.

init?(data: Data)

Creates an NDEF message from raw data representing the message.

Accessing NDEF Records

var records: [NFCNDEFPayload]

An array of records for the message.

Getting the Message Length

var length: Int

The length, in bytes, of the NDEF message when stored on an NFC tag.

Relationships

Inherits From

See Also

NDEF Messages and Payloads

class NFCNDEFPayload

A payload record in an NFC NDEF message.