RealmConfiguration
A Realm Configuration defining specific setup and configuration for a Realm instance.
The RealmConfiguration can, for simple uses cases, be created directly through the constructor. More advanced setup requires building the RealmConfiguration through RealmConfiguration.Builder.build.
See also
Types
Used to create a RealmConfiguration. For common use cases, a RealmConfiguration can be created using the RealmConfiguration.create function.
Properties
Callback that determines if the realm file should be compacted as part of opening it.
Flag indicating whether the realm will be deleted if the schema has changed in a way that requires schema migration.
64 byte key used to encrypt and decrypt the Realm file.
Callback that will be triggered in order to write initial data when the Realm file is created for the first time.
Configuration that holds details of a bundled asset file used as initial state of the realm file. See SharedBuilder.initialRealmFile for details. null
is returned if no initial realm file has been configured.
Maximum number of active versions.
The set of classes included in the schema for the realm.
The schema version.