Skip to content

Commit

Permalink
Merge pull request #416 from pwasowski2/tizen_4.0_webapi_reference_up…
Browse files Browse the repository at this point in the history
…date

Web Device API reference update for Tizen 4.0
  • Loading branch information
mijin85cho authored Oct 31, 2018
2 parents a4491f0 + 32ac2bd commit caab7dc
Show file tree
Hide file tree
Showing 174 changed files with 66,758 additions and 75,572 deletions.
903 changes: 421 additions & 482 deletions docs/application/web/api/4.0/device_api/mobile/index.html

Large diffs are not rendered by default.

997 changes: 438 additions & 559 deletions docs/application/web/api/4.0/device_api/mobile/tizen/account.html
100755 → 100644

Large diffs are not rendered by default.

491 changes: 206 additions & 285 deletions docs/application/web/api/4.0/device_api/mobile/tizen/alarm.html
100755 → 100644

Large diffs are not rendered by default.

1,633 changes: 750 additions & 883 deletions docs/application/web/api/4.0/device_api/mobile/tizen/application.html
100755 → 100644

Large diffs are not rendered by default.

680 changes: 288 additions & 392 deletions docs/application/web/api/4.0/device_api/mobile/tizen/archive.html
100755 → 100644

Large diffs are not rendered by default.

236 changes: 100 additions & 136 deletions docs/application/web/api/4.0/device_api/mobile/tizen/badge.html
100755 → 100644

Large diffs are not rendered by default.

4,306 changes: 2,164 additions & 2,142 deletions docs/application/web/api/4.0/device_api/mobile/tizen/bluetooth.html
100755 → 100644

Large diffs are not rendered by default.

154 changes: 62 additions & 92 deletions docs/application/web/api/4.0/device_api/mobile/tizen/bookmark.html
100755 → 100644

Large diffs are not rendered by default.

2,027 changes: 848 additions & 1,179 deletions docs/application/web/api/4.0/device_api/mobile/tizen/calendar.html
100755 → 100644

Large diffs are not rendered by default.

571 changes: 238 additions & 333 deletions docs/application/web/api/4.0/device_api/mobile/tizen/callhistory.html
100755 → 100644

Large diffs are not rendered by default.

3,386 changes: 1,363 additions & 2,023 deletions docs/application/web/api/4.0/device_api/mobile/tizen/contact.html
100755 → 100644

Large diffs are not rendered by default.

1,147 changes: 368 additions & 779 deletions docs/application/web/api/4.0/device_api/mobile/tizen/content.html
100755 → 100644

Large diffs are not rendered by default.

154 changes: 50 additions & 104 deletions docs/application/web/api/4.0/device_api/mobile/tizen/cordova/console.html
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../tizen.css" media="screen">
<script type="text/javascript" src="../snippet.js"></script><title>Console API</title>
<link rel="stylesheet" type="text/css" href="tizen.css" media="screen">
<script type="text/javascript" src="snippet.js"></script><title>Console API</title>
</head>
<body id="page-content" onload="prettyPrint()">
<div class="api" id="::Console">
<div class="supported-platforms"><img class="mobile-mandatory emulator" title="Mandatory, Supported by Tizen Mobile emulator" src="../mobile_s_w.png"></div>
<div class="supported-platforms"><img class="mobile-mandatory emulator" title="Mandatory, Supported by Tizen Mobile emulator" src="../mobile_s_w.png"></div>
<div class="title"><h1>Console API</h1></div>
<div class="brief">
the Console module provides function to access the console.
Expand All @@ -18,8 +18,7 @@
<b>Remark:</b> Usage of cordova API needs <em>http://tizen.org/privilege/filesystem.read</em> privilege.
</p>
</div>
<p><span class="version">
Since: </span>
<p><span class="version">Since: </span>
3.0
</p>
<h2>Table of Contents</h2>
Expand Down Expand Up @@ -71,8 +70,7 @@ <h2>1. Interfaces</h2>
readonly attribute <a href="#ConsoleManager">ConsoleManager</a> console;
};</pre>
<pre class="webidl prettyprint"> Window implements <a href="#ConsoleManagerObject">ConsoleManagerObject</a>;</pre>
<p><span class="version">
Since: </span>
<p><span class="version">Since: </span>
3.0
</p>
<div class="description">
Expand All @@ -88,35 +86,23 @@ <h2>1. Interfaces</h2>
</div>
<pre class="webidl prettyprint"> [NoInterfaceObject] interface ConsoleManager {
void log(DOMString text);

void error(DOMString text);

void warn(DOMString text);

void info(DOMString text);

void debug(DOMString text);

void assert(boolean expression, DOMString message);

void dir(Object obj);

void dirxml(Object obj);

void time(DOMString label);

void timeEnd(DOMString label);
};</pre>
<p><span class="version">
Since: </span>
<p><span class="version">Since: </span>
3.0
</p>
<p><span class="privilegelevel">
Privilege level: </span>
<p><span class="privilegelevel">Privilege level: </span>
public
</p>
<p><span class="privilege">
Privilege: </span>
<p><span class="privilege">Privilege: </span>
http://tizen.org/privilege/filesystem.read
</p>
<div class="methods">
Expand All @@ -131,16 +117,13 @@ <h4>Methods</h4>
The text will be logged as a standard message.
</div>
<div class="synopsis"><pre class="signature prettyprint">void log(DOMString text);</pre></div>
<p><span class="version">
Since: </span>
<p><span class="version">Since: </span>
3.0
</p>
<p><span class="privilegelevel">
Privilege level: </span>
<p><span class="privilegelevel">Privilege level: </span>
public
</p>
<p><span class="privilege">
Privilege: </span>
<p><span class="privilege">Privilege: </span>
http://tizen.org/privilege/filesystem.read
</p>
<div class="parameters">
Expand All @@ -153,7 +136,7 @@ <h4>Methods</h4>
</ul>
</div>
<div class="example">
<span class="example"><p>Code example:</p></span><pre name="code" class="examplecode prettyprint">console.log('A is for Alice');
<span class="example"><p>Code example:</p></span><pre name="code" class="examplecode prettyprint">console.log("A is for Alice");
</pre>
</div>
<div class="output">
Expand All @@ -170,16 +153,13 @@ <h4>Methods</h4>
The text will be logged as an error message.
</div>
<div class="synopsis"><pre class="signature prettyprint">void error(DOMString text);</pre></div>
<p><span class="version">
Since: </span>
<p><span class="version">Since: </span>
3.0
</p>
<p><span class="privilegelevel">
Privilege level: </span>
<p><span class="privilegelevel">Privilege level: </span>
public
</p>
<p><span class="privilege">
Privilege: </span>
<p><span class="privilege">Privilege: </span>
http://tizen.org/privilege/filesystem.read
</p>
<div class="parameters">
Expand All @@ -192,7 +172,7 @@ <h4>Methods</h4>
</ul>
</div>
<div class="example">
<span class="example"><p>Code example:</p></span><pre name="code" class="examplecode prettyprint">console.error('B is for Bob');
<span class="example"><p>Code example:</p></span><pre name="code" class="examplecode prettyprint">console.error("B is for Bob");
</pre>
</div>
<div class="output">
Expand All @@ -209,16 +189,13 @@ <h4>Methods</h4>
The text will be logged as a warning message.
</div>
<div class="synopsis"><pre class="signature prettyprint">void warn(DOMString text);</pre></div>
<p><span class="version">
Since: </span>
<p><span class="version">Since: </span>
3.0
</p>
<p><span class="privilegelevel">
Privilege level: </span>
<p><span class="privilegelevel">Privilege level: </span>
public
</p>
<p><span class="privilege">
Privilege: </span>
<p><span class="privilege">Privilege: </span>
http://tizen.org/privilege/filesystem.read
</p>
<div class="parameters">
Expand All @@ -231,7 +208,7 @@ <h4>Methods</h4>
</ul>
</div>
<div class="example">
<span class="example"><p>Code example:</p></span><pre name="code" class="examplecode prettyprint">console.warn('C is for Christopher');
<span class="example"><p>Code example:</p></span><pre name="code" class="examplecode prettyprint">console.warn("C is for Christopher");
</pre>
</div>
<div class="output">
Expand All @@ -248,16 +225,13 @@ <h4>Methods</h4>
The text will be logged as an info message.
</div>
<div class="synopsis"><pre class="signature prettyprint">void info(DOMString text);</pre></div>
<p><span class="version">
Since: </span>
<p><span class="version">Since: </span>
3.0
</p>
<p><span class="privilegelevel">
Privilege level: </span>
<p><span class="privilegelevel">Privilege level: </span>
public
</p>
<p><span class="privilege">
Privilege: </span>
<p><span class="privilege">Privilege: </span>
http://tizen.org/privilege/filesystem.read
</p>
<div class="parameters">
Expand All @@ -270,7 +244,7 @@ <h4>Methods</h4>
</ul>
</div>
<div class="example">
<span class="example"><p>Code example:</p></span><pre name="code" class="examplecode prettyprint">console.info('D is for Dorothy');
<span class="example"><p>Code example:</p></span><pre name="code" class="examplecode prettyprint">console.info("D is for Dorothy");
</pre>
</div>
<div class="output">
Expand All @@ -287,16 +261,13 @@ <h4>Methods</h4>
The text will be logged as a debug message.
</div>
<div class="synopsis"><pre class="signature prettyprint">void debug(DOMString text);</pre></div>
<p><span class="version">
Since: </span>
<p><span class="version">Since: </span>
3.0
</p>
<p><span class="privilegelevel">
Privilege level: </span>
<p><span class="privilegelevel">Privilege level: </span>
public
</p>
<p><span class="privilege">
Privilege: </span>
<p><span class="privilege">Privilege: </span>
http://tizen.org/privilege/filesystem.read
</p>
<div class="parameters">
Expand All @@ -309,7 +280,7 @@ <h4>Methods</h4>
</ul>
</div>
<div class="example">
<span class="example"><p>Code example:</p></span><pre name="code" class="examplecode prettyprint">console.debug('E is for Eve');
<span class="example"><p>Code example:</p></span><pre name="code" class="examplecode prettyprint">console.debug("E is for Eve");
</pre>
</div>
<div class="output">
Expand All @@ -326,16 +297,13 @@ <h4>Methods</h4>
the message is written to the console.
</div>
<div class="synopsis"><pre class="signature prettyprint">void assert(boolean expression, DOMString message);</pre></div>
<p><span class="version">
Since: </span>
<p><span class="version">Since: </span>
3.0
</p>
<p><span class="privilegelevel">
Privilege level: </span>
<p><span class="privilegelevel">Privilege level: </span>
public
</p>
<p><span class="privilege">
Privilege: </span>
<p><span class="privilege">Privilege: </span>
http://tizen.org/privilege/filesystem.read
</p>
<div class="parameters">
Expand All @@ -352,10 +320,10 @@ <h4>Methods</h4>
</ul>
</div>
<div class="example">
<span class="example"><p>Code example:</p></span><pre name="code" class="examplecode prettyprint">var felix = 'Felix';
<span class="example"><p>Code example:</p></span><pre name="code" class="examplecode prettyprint">var felix = "Felix";

/* This assertion checks whether the first letter in name 'Felix' is 'A' */
console.assert(felix.charAt(0) === 'A', felix + ' does not start with A');
/* This assertion checks whether the first letter in name "Felix" is "A". */
console.assert(felix.charAt(0) === "A", felix + " does not start with A");
</pre>
</div>
<div class="output">
Expand All @@ -373,16 +341,13 @@ <h4>Methods</h4>
Object view is forced.
</div>
<div class="synopsis"><pre class="signature prettyprint">void dir(Object obj);</pre></div>
<p><span class="version">
Since: </span>
<p><span class="version">Since: </span>
3.0
</p>
<p><span class="privilegelevel">
Privilege level: </span>
<p><span class="privilegelevel">Privilege level: </span>
public
</p>
<p><span class="privilege">
Privilege: </span>
<p><span class="privilege">Privilege: </span>
http://tizen.org/privilege/filesystem.read
</p>
<div class="parameters">
Expand Down Expand Up @@ -413,16 +378,13 @@ <h4>Methods</h4>
if possible or the JavaScript Object if it is not.
</div>
<div class="synopsis"><pre class="signature prettyprint">void dirxml(Object obj);</pre></div>
<p><span class="version">
Since: </span>
<p><span class="version">Since: </span>
3.0
</p>
<p><span class="privilegelevel">
Privilege level: </span>
<p><span class="privilegelevel">Privilege level: </span>
public
</p>
<p><span class="privilege">
Privilege: </span>
<p><span class="privilege">Privilege: </span>
http://tizen.org/privilege/filesystem.read
</p>
<div class="parameters">
Expand Down Expand Up @@ -454,16 +416,13 @@ <h4>Methods</h4>
is displayed in the console. Timer values are accurate to the sub-millisecond.
</div>
<div class="synopsis"><pre class="signature prettyprint">void time(DOMString label);</pre></div>
<p><span class="version">
Since: </span>
<p><span class="version">Since: </span>
3.0
</p>
<p><span class="privilegelevel">
Privilege level: </span>
<p><span class="privilegelevel">Privilege level: </span>
public
</p>
<p><span class="privilege">
Privilege: </span>
<p><span class="privilege">Privilege: </span>
http://tizen.org/privilege/filesystem.read
</p>
<div class="parameters">
Expand All @@ -481,7 +440,7 @@ <h4>Methods</h4>
for (var i = array.length - 1; i &gt;= 0; i -= 1)
{
array[i] = new Object();
};
}
console.timeEnd("Big array initialization");
</pre>
</div>
Expand All @@ -498,24 +457,21 @@ <h4>Methods</h4>
Stops the timer with the specified label and prints the elapsed time.
</div>
<div class="synopsis"><pre class="signature prettyprint">void timeEnd(DOMString label);</pre></div>
<p><span class="version">
Since: </span>
<p><span class="version">Since: </span>
3.0
</p>
<p><span class="privilegelevel">
Privilege level: </span>
<p><span class="privilegelevel">Privilege level: </span>
public
</p>
<p><span class="privilege">
Privilege: </span>
<p><span class="privilege">Privilege: </span>
http://tizen.org/privilege/filesystem.read
</p>
<div class="parameters">
<p><span class="param">Parameters:</span></p>
<ul>
<li class="param">
<span class="name">label</span>:
The label associated to the timing (with the use of <var>console.time()</var>method).
The label associated to the timing (with the use of <var>console.time()</var> method).
</li>
</ul>
</div>
Expand All @@ -525,7 +481,7 @@ <h4>Methods</h4>
for (var i = array.length - 1; i &gt;= 0; i -= 1)
{
array[i] = new Object();
};
}
console.timeEnd("Big array initialization");
</pre>
</div>
Expand All @@ -543,28 +499,17 @@ <h2 id="full-webidl">2. Full WebIDL</h2>
[NoInterfaceObject] interface ConsoleManagerObject {
readonly attribute <a href="#ConsoleManager">ConsoleManager</a> console;
};

Window implements <a href="#ConsoleManagerObject">ConsoleManagerObject</a>;

[NoInterfaceObject] interface ConsoleManager {
void log(DOMString text);

void error(DOMString text);

void warn(DOMString text);

void info(DOMString text);

void debug(DOMString text);

void assert(boolean expression, DOMString message);

void dir(Object obj);

void dirxml(Object obj);

void time(DOMString label);

void timeEnd(DOMString label);
};
};</pre>
Expand All @@ -582,6 +527,7 @@ <h2 id="full-webidl">2. Full WebIDL</h2>

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

Expand Down
Loading

0 comments on commit caab7dc

Please sign in to comment.