Builder
class Builder : RealmConfiguration.SharedBuilder<SyncConfiguration, SyncConfiguration.Builder>
Content copied to clipboard
Used to create a SyncConfiguration. For common use cases, a SyncConfiguration can be created using the RealmConfiguration.with function.
Constructors
Functions
build
Link copied to clipboard
deleteRealmIfMigrationNeeded
Link copied to clipboard
encryptionKey
Link copied to clipboard
errorHandler
Link copied to clipboard
fun errorHandler(errorHandler: SyncSession.ErrorHandler): SyncConfiguration.Builder
Content copied to clipboard
Sets the error handler used by Synced Realms when reporting errors with their session.
log
Link copied to clipboard
open override fun log(level: LogLevel, customLoggers: List<RealmLogger>): SyncConfiguration.Builder
Content copied to clipboard
maxNumberOfActiveVersions
Link copied to clipboard
fun maxNumberOfActiveVersions(maxVersions: Long): SyncConfiguration.Builder
Content copied to clipboard
name
Link copied to clipboard
path
Link copied to clipboard
schema
Link copied to clipboard
fun schema(vararg classes: KClass<out RealmObject>): SyncConfiguration.Builder
Content copied to clipboard
fun schema(classes: Set<KClass<out RealmObject>>): SyncConfiguration.Builder
Content copied to clipboard
schemaVersion
Link copied to clipboard
Properties
schema
Link copied to clipboard