SyncsConfig

Class encapsulating syncs definition.

Config expected in a resource or assets file in JSON with the following: { syncs: { syncType: syncUp | syncDown syncName: xxx soupName: yyy target: { depends on target - see SyncTarget.java } options: { also depends on target - see SyncOptions.java } } }

Constructors

Link copied to clipboard
constructor(ctx: Context?, resourceId: Int)

Constructor for config stored in resource file

constructor(ctx: Context?, assetPath: String?)

Constructor for config stored in asset file

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Create the syncs from the config in the given store NB: only feedback is through the logs - the config is static so getting it right is something the developer should do while writing the app

Link copied to clipboard

Return true if syncs are defined in config