[account] remove Non-public API.
authorhyunho kang <hhstark.kang@samsung.com>
Mon, 3 Aug 2015 06:11:45 +0000 (15:11 +0900)
committerhyunho kang <hhstark.kang@samsung.com>
Mon, 3 Aug 2015 06:11:45 +0000 (15:11 +0900)
Change-Id: I02d732a9d5e538e1ec2620e8f3e05947f4d7c418
Signed-off-by: hyunho kang <hhstark.kang@samsung.com>
org.tizen.tutorials/html/native/account/sync_manager_tutorial_n.htm

index 1a2a587..0c36bf3 100644 (file)
@@ -121,8 +121,8 @@ account_insert_to_db(account, &amp;account_id);
 account_disconnect();
 
 extra = bundle_create();
-bundle_add(extra, SYNC_OPTION_NO_RETRY, &quot;true&quot;);
-bundle_add(extra, SYNC_OPTION_EXPEDITED, &quot;false&quot;);
+bundle_add_str(extra, SYNC_OPTION_NO_RETRY, &quot;true&quot;);
+bundle_add_str(extra, SYNC_OPTION_EXPEDITED, &quot;false&quot;);
 </pre>
 <p>This example creates a bundle and adds options for sync-related information. Since the <span style="font-family: Courier New,Courier,monospace">SYNC_OPTION_NO_RETRY</span> is set to <span style="font-family: Courier New,Courier,monospace">true</span>, the sync service does not retry the operation if the sync operation fails.</p>
 </li>
@@ -202,8 +202,8 @@ result = sync_manager_connect();
 <pre class="prettyprint">
 bundle *extra = NULL;
 extra = bundle_create();
-bundle_add(extra, SYNC_OPTION_NO_RETRY, &quot;false&quot;);
-bundle_add(extra, SYNC_OPTION_EXPEDITED, &quot;false&quot;);
+bundle_add_str(extra, SYNC_OPTION_NO_RETRY, &quot;false&quot;);
+bundle_add_str(extra, SYNC_OPTION_EXPEDITED, &quot;false&quot;);
 </pre>
 <p>This example creates a bundle and adds options for sync-related information. All the sync options are set to <span style="font-family: Courier New,Courier,monospace">false</span> for a periodic sync request. The sync service tries again when the sync operation has failed and does not grant priority for the sync operation.</p>
 </li>