Companion
object Companion
Properties
Functions
Link copied to clipboard
Cleanup syncs soup if needed At startup, no sync could be running already If a sync is in the running state, we change it to stopped
Link copied to clipboard
fun createSyncDown(store: SmartStore, target: SyncDownTarget, options: SyncOptions, soupName: String, name: String?): SyncState
Create sync state in database for a sync down and return corresponding SyncState NB: Throws exception if there is already a sync with the same name (when name is not null)
Link copied to clipboard
fun createSyncUp(store: SmartStore, target: SyncUpTarget, options: SyncOptions, soupName: String, name: String?): SyncState
Create sync state in database for a sync up and return corresponding SyncState NB: Throws exception if there is already a sync with the same name (when name is not null)
Link copied to clipboard
Delete row for sync given by id
Delete row for sync given by name
Link copied to clipboard
Build SyncState from json
Link copied to clipboard
Get syncs with given status in the given store
Link copied to clipboard
Return true if there is a sync with the given name
Link copied to clipboard
Create syncs soup if needed