#[repr(u8)]pub enum NFCTypeNameFormat {
Empty = 0,
NfcWellKnown = 1,
Media = 2,
AbsoluteURI = 3,
NfcExternal = 4,
Unknown = 5,
Unchanged = 6,
}Expand description
The Type Name Format (TNF) of an NDEF record, which defines how the record type is interpreted.
Serialized as its numeric value.
Variants§
Empty = 0
The record is empty: type, identifier and payload must be empty.
NfcWellKnown = 1
The record type is an NFC Forum well known type, defined by a Record Type Definition (RTD)
such as RTD_TEXT ([0x54]) or RTD_URI ([0x55]).
Media = 2
The record type is a MIME media type as defined in RFC 2046, e.g. text/plain.
AbsoluteURI = 3
The record type is an absolute URI as defined in RFC 3986.
NfcExternal = 4
The record type is an NFC Forum external type, i.e. a type namespaced by its issuer.
Unknown = 5
The record type is unknown: the type must be empty and the payload interpretation is left to the application.
Unchanged = 6
The record is a middle or last chunk of a chunked record and inherits the type of the first chunk, so its own type must be empty.