Setting SyncDirection.UPLOAD does not work

445
0
05-01-2017 10:31 AM
by Anonymous User
Not applicable

I would like to give users the choice of whether they want full Bidirectional Sync or to just upload features.  It seems that setting the Sync Paramaters to Upload only does not actually work.  I still get new features from other users downloading back to my device after syncing.  Below is the code I am using...

SyncGeodatabaseParameters syncParams = geodatabase.getSyncParameters();
syncParams.setSyncDirection(SyncDirection.UPLOAD);
gdbTask.syncGeodatabase(syncParams, geodatabase, statusCallback, syncResponseCallback);

Any thoughts greatly appreciated!

0 Kudos
0 Replies