Creates a new instance of NFCTagType4 containing an NDEF message.
const tag = new NFCTagType4({
type: NFCTagType4NDEFContentType.Text,
content: "Hello NFC World!",
writable: false
});
...
hceSession.setApplication(tag);
Props of the tag
The NDEF record - a content of application.
Static
contentMaps the string to NFCTagType4NDEFContentType.
Static
stringMaps the NFCTagType4NDEFContentType to string.
Generated using TypeDoc
Represents the NFC Tag Type 4 application.
You can create the instance by calling the constructor.