- From: Domenic Denicola via GitHub <sysbot+gh@w3.org>
- Date: Tue, 11 Aug 2015 12:25:43 +0000
- To: public-web-nfc@w3.org
+1 to @annevk's design. Alternately, a design like `{ type: "url",
data: ... }` `{ type: "text", data: ... }` seems fine. Anne's design
is better to communicate that NFC's metadata is not relevant and you
want the ability to deserialize in multiple ways as appropriate for
the use case. The `{ type, data }` seems a bit better to give a more
direct mapping to NFC (although in that case just exposing TNF and
MIME type would be more appropriate).
--
GitHub Notif of comment by domenic
See https://github.com/w3c/web-nfc/issues/26#issuecomment-129856146
Received on Tuesday, 11 August 2015 12:25:45 UTC