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
SyncDownTarget
class to theSyncManager
sync down method:
-
Create a target object with the following property settings:
-
Set
type
to "custom". -
Set at least one of the following properties:
- iOS (if supported):
Set
iOSImpl
to the name of your iOS custom class.- Android (if supported):
Set
androidImpl
to 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: