iOS Guides | Samples

CoreNFC.NFCNdefPayload Class

An element that helps comprise an NFCNdefMessage.

See Also: NFCNdefPayload


[Foundation.Register("NFCNDEFPayload", true)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public class NFCNdefPayload : NSObject, INSSecureCoding, IDisposable


Namespace: CoreNFC
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions:

The members of CoreNFC.NFCNdefPayload are listed below.

See Also: NSObject

Public Constructors

A constructor that initializes the object from the data stored in the unarchiver object.

Protected Constructors

Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

ClassHandleIntPtr. The handle for this class.
IdentifierNSData. Gets or sets the NDEF-specified identifier of the payload.
PayloadNSData. Gets or sets the payload data, as NSData.
TypeNSData. Gets or sets the NDEF-specified kind of the payload.
TypeNameFormatNFCTypeNameFormat. Gets or sets the NFCTypeNameFormat that defines the content type of the payload.

Public Methods

Encodes the state of the object on the provided encoder