Companion

object Companion

Functions

Link copied to clipboard

Creates a sync configuration for Flexible Sync with default values for all optional configuration parameters.

fun create(user: User, partitionValue: RealmUUID?, schema: Set<KClass<out BaseRealmObject>>): SyncConfiguration
fun create(user: User, partitionValue: Int?, schema: Set<KClass<out BaseRealmObject>>): SyncConfiguration
fun create(user: User, partitionValue: Long?, schema: Set<KClass<out BaseRealmObject>>): SyncConfiguration
fun create(user: User, partitionValue: String?, schema: Set<KClass<out BaseRealmObject>>): SyncConfiguration
fun create(user: User, partitionValue: BsonObjectId?, schema: Set<KClass<out BaseRealmObject>>): SyncConfiguration

Creates a sync configuration for Partition-based Sync with default values for all optional configuration parameters.