createSyncDown

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)

Return

Parameters

store
target
options
soupName
name

Throws