code: function (text, languageCode, id) {
          var payload = textHelper.encodePayload(text, languageCode);
          if (!id) { id = []; }
  
          return ndef.record(ndef.TNF_WELL_KNOWN, ndef.RTD_TEXT, id, payload);
      }
docs: Helper that creates an NDEF record containing plain text.
  
  @text String of text to encode
  @languageCode ISO/IANA language code. Examples: “fi”, “en-US”, “fr-CA”, “jp”. (optional)
  @id byte[] (optional)