com.splitforce.lib.client
Class SplitforceClient

java.lang.Object
  extended by com.splitforce.lib.client.SplitforceClient
All Implemented Interfaces:
SfClient

public class SplitforceClient
extends java.lang.Object
implements SfClient


Method Summary
static SfClient getInstance()
           
 SfTask syncGoals(android.content.Context context)
          Sync the local goals with the server
 SfTask syncManifest(android.content.Context context)
          Sync the local manifest with the server.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SfClient getInstance()

syncManifest

public SfTask syncManifest(android.content.Context context)
Description copied from interface: SfClient
Sync the local manifest with the server.

Specified by:
syncManifest in interface SfClient
Parameters:
context - The application's context.
Returns:
An instance of SfTask which can be used to cancel the network task if the device loses connection.

syncGoals

public SfTask syncGoals(android.content.Context context)
Description copied from interface: SfClient
Sync the local goals with the server

Specified by:
syncGoals in interface SfClient
Parameters:
context - The application's context.
Returns:
An instance of SfTask which can be used to cancel the network task if the device loses connection.