Skip to content

NDEFPayload_TypeNameFormat

treastrain edited this page May 17, 2021 · 2 revisions

NDEFPayload.TypeNameFormat

The Type Name Format values that specify the content type for the payload data in an NFC NDEF message.

public enum TypeNameFormat: UInt8 

Inheritance

UInt8

Initializers

init?(from:)

os(iOS) && !targetEnvironment(macCatalyst)
public init?(from coreNFCInstance: CoreNFC.NFCTypeNameFormat) 

Enumeration Cases

empty

A type indicating that the payload contains no data.

case empty = 0

nfcWellKnown

A type indicating that the payload contains well-known NFC record type data.

case nfcWellKnown = 1

media

A type indicating that the payload contains media data as defined by RFC 2046.

case media = 2

absoluteURI

A type indicating that the payload contains a uniform resource identifier.

case absoluteURI = 3

nfcExternal

A type indicating that the payload contains NFC external type data.

case nfcExternal = 4

unknown

A type indicating that the payload data type is unknown.

case unknown = 5

unchanged

A type indicating that the payload is part of a series of records containing chunked data.

case unchanged = 6
Clone this wiki locally