Invoking the Sync Down Method with a Custom Target
Pass an instance of your custom SFSyncDownTarget class to the SFMobileSyncSyncManager sync down method:
- Swift
- Objective-C
- Android:
Pass an instance of your custom
SyncDownTargetclass to theSyncManagersync down method:
-
Create a target object with the following property settings:
-
Set
typeto "custom". -
Set at least one of the following properties:
- iOS (if supported):
Set
iOSImplto the name of your iOS custom class.- Android (if supported):
Set
androidImplto the package-qualified name of your Android custom class.
-
Set
-
Pass this target to the hybrid sync down method:
-
Create a target object with the following property settings: