SharedBuilder
abstract class SharedBuilder<T, S : Configuration.SharedBuilder<T, S>>(schema: Set<KClass<out BaseRealmObject>>)
Content copied to clipboard
Base class for configuration builders that holds properties available to both RealmConfiguration and SyncConfiguration.
Parameters
T
the type of Configuration the builder should generate.
S
the type of builder, needed to distinguish between local and sync variants.
Constructors
SharedBuilder
Link copied to clipboard
the type of Configuration the builder should generate.
Functions
compactOnLaunch
Link copied to clipboard
fun compactOnLaunch(callback: CompactOnLaunchCallback = Realm.DEFAULT_COMPACT_ON_LAUNCH_CALLBACK): S
Content copied to clipboard
encryptionKey
Link copied to clipboard
initialData
Link copied to clipboard
maxNumberOfActiveVersions
Link copied to clipboard
Sets the maximum number of live versions in the Realm file before an IllegalStateException is thrown when attempting to write more data.
schemaVersion
Link copied to clipboard
Inheritors
RealmConfiguration
Link copied to clipboard