<li><a href="native/personal/personal_cover_n.htm" target="content">Personal Data</a>
<ul>
<li><a href="native/personal/account_n.htm" target="content">Account Management</a></li>
- <li><a href="native/personal/data_sync_n.htm" target="content">Data Synchronization</a></li>
+ <li><a href="native/personal/data_sync_n.htm" target="content">Synchronization Management</a></li>
<li><a href="native/personal/authentication_n.htm" target="content">Authentication and Authorization</a>
<ul>
<li><a href="native/personal/fido_n.htm" target="content">FIDO Universal Authentication Framework</a></li>
<th colspan="4"><a href="#feature">Feature keys</a></th>
</tr>
<tr>
+ <td><a href="#account">Account</a></td>
+ <td><a href="#fmradio">FM radio</a></td>
+ <td><a href="#microphone">Microphone</a></td>
+ <td><a href="#sensor">Sensor</a></td>
+ </tr>
+</tr>
+ <tr>
<td><a href="#battery">Battery</a></td>
<td><a href="#graphics">Graphics</a></td>
<td><a href="#multimedia">Multimedia</a></td>
<td><a href="#fido">FIDO</a></td>
<td><a href="#media">Media</a></td>
<td><a href="#screen">Screen</a></td>
- <td rowspan="2">-</td>
- </tr>
- <tr>
- <td><a href="#fmradio">FM radio</a></td>
- <td><a href="#microphone">Microphone</a></td>
- <td><a href="#sensor">Sensor</a></td>
+ <td>-</td>
</tr>
<tr>
<th colspan="4"><a href="#system">System keys</a></th>
<td><a href="#build">Build</a></td>
<td><a href="#manufacturer">Manufacturer</a></td>
<td><a href="#platformsys">Platform</a></td>
- <td><a href="#tizenid">TizenID</a></td>
+ <td rowspan="2">-</td>
</tr>
<tr>
+ <td><a href="#tizenid">TizenID</a></td>
<td><a href="#modelname">Model name</a></td>
<td><a href="#sound">Sound</a></td>
- <td>-</td>
</tr>
</tbody></table>
<h2 id="feature">Feature Keys</h2>
+<p>The following table lists the account feature keys.</p>
+ <p align="center" class="Table"><strong>Table: Account feature keys</strong></p>
+
+ <table id="account" border="1">
+ <tbody>
+ <tr>
+ <th>Key</th>
+ <th>Type</th>
+ <th>Description</th>
+ </tr>
+ <tr>
+ <td><code>http://tizen.org/feature/account</code></td>
+ <td><code>bool</code></td>
+ <td>The platform returns <code>true</code> for this key, if the device supports the Account Manager API.</td>
+ </tr>
+ <tr>
+ <td><code>http://tizen.org/feature/account.sync</code></td>
+ <td><code>bool</code></td>
+ <td>The platform returns <code>true</code> for this key, if the device supports the Sync Manager API.</td>
+ </tr>
+ </tbody>
+ </table>
+
<p>The following table lists the battery feature keys.</p>
<p align="center" class="Table"><strong>Table: Battery feature keys</strong></p>
<script type="text/javascript" src="../../scripts/common.js" charset="utf-8"></script>
<script type="text/javascript" src="../../scripts/core.js" charset="utf-8"></script>
<script type="text/javascript" src="../../scripts/search.js" charset="utf-8"></script>
- <title>Data Synchronization</title>
+ <title>Synchronization Management</title>
</head>
<body onload="prettyPrint()" style="overflow: auto;">
<div id="container"><div id="contents"><div class="content">
- <h1>Data Synchronization</h1>
+ <h1>Synchronization Management</h1>
<p>Tizen provides notifications for a service application to maintain data consistency between a server and the device.</p>
</ul>
<h2 id="prerequisites">Prerequisites</h2>
-<p>To enable your application to use the data synchronization functionality:</p>
+<p>To enable your application to use the synchronization management functionality:</p>
<ol>
<li>To use the Sync Manager API (in <a href="../../../../org.tizen.native.mobile.apireference/group__CAPI__SYNC__MANAGER__MODULE.html">mobile</a> and <a href="../../../../org.tizen.native.wearable.apireference/group__CAPI__SYNC__MANAGER__MODULE.html">wearable</a> applications), the application has to request permission by adding the following privileges to the <code>tizen-manifest.xml</code> file:
<pre class="prettyprint">
</privileges>
</pre>
</li>
+<li>Before using the Sync Manager API, check whether the device supports the synchronization management feature with the <code>system_info_get_platform_bool()</code> function. If the device supports the Sync Manager API, the function returns <code>true</code> in the second parameter.
+<pre class="prettyprint">
+bool sync_support;
+
+system_info_get_platform_bool("http://tizen.org/feature/account.sync", &sync_support);
+</pre>
+</li>
<li><a href="#set_callback">Set the sync adapter callbacks</a> in the service application:
<pre class="prettyprint">
#include <sync_adapter.h>
<p>You can access user accounts and account providers. After getting a specific account, you can manage it, retrieve account information, and manage account secrecy.</p></li>
-<li><a href="data_sync_n.htm">Data Synchronization</a>
+<li><a href="data_sync_n.htm">Synchronization Management</a>
<p>You can synchronize service application data between a server and the device by creating various sync jobs.</p></li>
</topic>
<topic href="html/native/personal/personal_cover_n.htm" label="Personal Data">
<topic href="html/native/personal/account_n.htm" label="Account Management"></topic>
- <topic href="html/native/personal/data_sync_n.htm" label="Data Synchronization"></topic>
+ <topic href="html/native/personal/data_sync_n.htm" label="Synchronization Management"></topic>
<topic href="html/native/personal/authentication_n.htm" label="Authentication and Authorization">
<topic href="html/native/personal/fido_n.htm" label="FIDO Universal Authentication Framework"></topic>
<topic href="html/native/personal/oauth_n.htm" label="OAuth 2.0"></topic>