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:(NSString*)synchronizationGroups:(NSString*)context

This method synchronizes only those MBOs that are part of certain synchronization groups. The parameter synchronizationGroups is a string containing a comma separated list of 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 Reference: Administration APIs > Reference > iPhone Client Object API > Utility APIs > Callback Handlers.

[SampleApp_SampleAppDB beginSynchronize];