NdefMessage Class

Definition

Create a NDEF = NFC Data Exchange Format Message class

public class NdefMessage
type NdefMessage = class
Public Class NdefMessage
Inheritance
NdefMessage

Constructors

NdefMessage()

Create an empty NDEF Message

NdefMessage(ReadOnlySpan<Byte>)

Create NDEF Message from a span of bytes

Fields

GeneralPurposeByteNdefVersion

Associated with the GeneralPurposeByteConsitions, it tells if a sector is read/write and a valid NDEF sector

Properties

Length

Get the length of the message

Records

List of all NDEF Records

Methods

ExtractMessage(Span<Byte>)

Extract an NDEF message from a raw byte array

GetStartSizeNdef(Span<Byte>)

From a raw message, find the start and stop of an NDEF message

Serialize(Span<Byte>)

Serialize the message in a span of bytes

Applies to