com.splitforce.lib.client
Interface SfClient

All Known Implementing Classes:
SplitforceClient

public interface SfClient

Makes rquests to the Splitforce backend.


Method Summary
 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.
 

Method Detail

syncManifest

SfTask syncManifest(android.content.Context context)
Sync the local manifest with the server.

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

SfTask syncGoals(android.content.Context context)
Sync the local goals with the server

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.