1.0
</p>
</li>
+<div class="example">
+<span class="example"><p>Code example:</p></span><pre name="code" class="examplecode prettyprint">
+// prepare two NDEFRecords:
+var myRecordURI = new tizen.NDEFRecordURI("https://www.tizen.org/");
+var myRecordTextPlain = new tizen.NDEFRecordMedia("text/plain", [116, 105, 122, 101, 110]);
+
+// create a NDEFMessage composed of two NDEFRecords:
+var myMessage = new NDEFMessage([myRecordURI, myRecordTextPlain]);
+</pre>
+</div>
</ul>
</div>
<div class="methods">
1.0
</p>
<div class="example">
-<span class="example"><p>Code example:</p></span><pre name="code" class="examplecode prettyprint"> // Creates a new NDEF record.
- var newRecord = new tizen.NDEFRecordURI("https://www.tizen.org/");
- var payload = newRecord.payload;
- </pre>
+<span class="example"><p>Code example:</p></span><pre name="code" class="examplecode prettyprint">
+ var newRecord = new tizen.NDEFRecord(2, [42, 84], [1, 2, 3, 4]);
+</pre>
</div>
</li>
</ul>
1.0
</p>
</li>
+<div class="example">
+<span class="example"><p>Code example:</p></span><pre name="code" class="examplecode prettyprint">
+ var newRecord = new tizen.NDEFRecordText("Tizen", "en-US", "UTF8");
+</pre>
+</div>
</ul>
</div>
</div>
Since: </span>
1.0
</p>
-
<div class="constructors">
<h4 id="NDEFRecordURI::constructor">Constructors</h4>
<dl><pre class="webidl prettyprint">NDEFRecordURI(DOMString uri);</pre></dl>
Since: </span>
1.0
</p>
-</li></ul>
+</li>
+<div class="example">
+<span class="example"><p>Code example:</p></span><pre name="code" class="examplecode prettyprint">
+// Creates a new NDEF record.
+var newRecord = new tizen.NDEFRecordURI("https://www.tizen.org/");
+var payload = newRecord.payload;
+</pre>
+</div>
+</ul>
</div>
</div>
<div class="interface" id="NDEFRecordMedia">
Since: </span>
1.0
</p>
-</li></ul>
+</li>
+<div class="example">
+<span class="example"><p>Code example:</p></span><pre name="code" class="examplecode prettyprint">
+var myData = [116, 105, 122, 101, 110];
+var newRecord = new tizen.NDEFRecordMedia("text/plain", myData);
+</pre>
+</div>
+</ul>
</div>
</div>
<div class="interface" id="HCEEventData">