<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Setting SyncDirection.UPLOAD does not work in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/setting-syncdirection-upload-does-not-work/m-p/241930#M1576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to give users the choice of whether they want full Bidirectional Sync or to just upload features. &amp;nbsp;It seems that setting the Sync Paramaters to Upload only does not actually work. &amp;nbsp;I still get new features from other users downloading back to my device after syncing. &amp;nbsp;Below is the code I am using...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;SyncGeodatabaseParameters syncParams = &lt;SPAN style="color: #660e7a;"&gt;geodatabase&lt;/SPAN&gt;.getSyncParameters();
syncParams.setSyncDirection(SyncDirection.&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;UPLOAD&lt;/SPAN&gt;);
&lt;SPAN style="color: #660e7a;"&gt;gdbTask&lt;/SPAN&gt;.syncGeodatabase(syncParams, &lt;SPAN style="color: #660e7a;"&gt;geodatabase&lt;/SPAN&gt;, statusCallback, syncResponseCallback);&lt;/PRE&gt;&lt;P&gt;Any thoughts greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 12:08:00 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2021-12-11T12:08:00Z</dc:date>
    <item>
      <title>Setting SyncDirection.UPLOAD does not work</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/setting-syncdirection-upload-does-not-work/m-p/241930#M1576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to give users the choice of whether they want full Bidirectional Sync or to just upload features. &amp;nbsp;It seems that setting the Sync Paramaters to Upload only does not actually work. &amp;nbsp;I still get new features from other users downloading back to my device after syncing. &amp;nbsp;Below is the code I am using...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;SyncGeodatabaseParameters syncParams = &lt;SPAN style="color: #660e7a;"&gt;geodatabase&lt;/SPAN&gt;.getSyncParameters();
syncParams.setSyncDirection(SyncDirection.&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;UPLOAD&lt;/SPAN&gt;);
&lt;SPAN style="color: #660e7a;"&gt;gdbTask&lt;/SPAN&gt;.syncGeodatabase(syncParams, &lt;SPAN style="color: #660e7a;"&gt;geodatabase&lt;/SPAN&gt;, statusCallback, syncResponseCallback);&lt;/PRE&gt;&lt;P&gt;Any thoughts greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:08:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/setting-syncdirection-upload-does-not-work/m-p/241930#M1576</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-11T12:08:00Z</dc:date>
    </item>
  </channel>
</rss>

