Re: [web-nfc] Rename toText, toJSON, and ToArrayBuffer NDEFRecord methods (#370)

I think `toRecords()` is better since it suggests transformation, which we do, since we try to parse the payload as NDEFMessage. 
For smart poster, `getRecords()` would mean to provide one "Sp" record with a payload that's parseable as NDEFMessage.
We could think of other names, too.

-- 
GitHub Notification of comment by zolkis
Please view or discuss this issue at https://github.com/w3c/web-nfc/pull/370#issuecomment-541095243 using your GitHub account

Received on Friday, 11 October 2019 14:47:03 UTC