-
-
Notifications
You must be signed in to change notification settings - Fork 0
Local Files Ndef Records
Az edited this page Jul 1, 2024
·
1 revision
Records saved in the NDEF Manager's record library can be found under NDEFRecords\
. The naming of the record files follows this pattern:
NDEFRecord-[arbitrary unique index].JSON
{
"tnf":1,
"recordType":[
85
],
"payload":[
4,
115
],
"recordID":[
],
"simpleRecordType":5,
"text":"",
"languageCode":"",
"textEncoding":0,
"uri":"https://xyz.com",
"mimeType":"",
"packageName":"",
"domain":"",
"domainDataType":""
}
-
tnf
: Record type name format. -
recordType
: The record type. Represented in Integers for serialization purposes. -
payload
: Full record byte content. Represented in Integers for serialization purposes. -
recordID
: The record's ID. Represented in Integers for serialization purposes.
Used in "simplified" records:
-
simpleRecordType
: A predefined record type. -
text
: Record's text for appropriate record types. -
uri
: Record's URI for appropriate record types. -
languageCode
: Record's language tag for appropriate record types. -
textEncoding
: Record's text encoding for appropriate record types. 0 - UTF8, 1 - UTF16. -
mimeType
: Record's mime type for appropriate record types. -
packageName
: Android package name for appropriate record types. -
domain
: Domain for appropriate record types. -
domainDataType
: Domain data type for appropriate record types.
Simple Record Type
public enum SimpleRecordType {
None,
Text,
Application,
External,
Mime,
URI
}
Type Name Format
public enum SimpleRecordType {
None,
Text,
Application,
External,
Mime,
URI
}
Language Code
public enum LanguageCode {
en
}
Text Encoding
public enum TextEncoding {
UTF8,
UTF16
}