- From: Kenneth Rohde Christiansen via GitHub <sysbot+gh@w3.org>
- Date: Thu, 29 Aug 2019 10:53:18 +0000
- To: public-web-nfc@w3.org
kenchris has just created a new issue for https://github.com/w3c/web-nfc: == Support reading embedded records: Add toRecords() == NDEF records can have embedded records, and actually the well-known Sp (Smart Poster) makes use of that. Some example of how to read that on Android here: http://mynewandroidtutorial.blogspot.com/2015/03/nfc-android-read-ndef-tag-textlink.html We should basically add a `FrozenArray<NDEFRecord> toRecords();` or similar. Developers are allowed to store their own record types within a subrecord in the well-known type, with the restriction that the type name cannot start with an uppercase (lowercase or number thus is fine). We should think a bit about how to expose these. Potentially we could create a "custom" recordType or similar, and then add a `customType` property, or we should just add it to the recordType, like "custom:userDefinedType001". We don't need to support this initially, but it is something to think about. Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/312 using your GitHub account
Received on Thursday, 29 August 2019 10:53:19 UTC