beginSynchronize

Sends a message to the Unwired Server to synchronize data between the client and the server. There are two different beginSynchronize APIs, one with no parameters that synchronizes all the groups, and one that takes a list of groups.

The synchronization completes in the background through an asynchronous message exchange with the server. If application code needs to know when the synchronization is complete, a callback handler that implements the onSynchronize method must be registered with the database class.

Syntax

public static void beginSynchronize(GenericList<SynchronizationGroup> sgs,
      Object context)

Parameters

Returns

None.

Examples