Synchronize Data

The beginSynchronize methods send a message to the Unwired Server to synchronize data between the client and the server.

+(void) beginSynchronize

This method is used to synchronize all data.

+(void) beginSynchronize:(SUPObjectList*)synchronizationGroups withContext:(NSString*)context

This method synchronizes only those MBOs that are part of certain synchronization groups. The parameter synchronizationGroups is a list of SUPSynchronizationGroup objects representing the groups to be synchronized. The parameter context is a reference string that is referred to when the server responds to the synchronization request. See the discussion of the onSynchronize callback handler method in Developer Guide for iOS > Reference > iPhone Client Object API > Utility APIs > Callback Handlers.

[SampleApp_SampleAppDB beginSynchronize];