Companion

object Companion

Functions

deleteRealm
Link copied to clipboard
fun deleteRealm(configuration: Configuration)
Deletes the realm file along with other related temporary files specified by the given RealmConfiguration from the filesystem.
open
Link copied to clipboard
fun open(configuration: Configuration): Realm
Open a realm instance.

Properties

DEFAULT_COMPACT_ON_LAUNCH_CALLBACK
Link copied to clipboard
The default implementation for determining if a file should be compacted or not.
DEFAULT_FILE_NAME
Link copied to clipboard
const val DEFAULT_FILE_NAME: String
Default name for realm files unless overridden by Configuration.SharedBuilder.name.
DEFAULT_LOG_TAG
Link copied to clipboard
const val DEFAULT_LOG_TAG: String
Default tag used by log entries
ENCRYPTION_KEY_LENGTH
Link copied to clipboard
const val ENCRYPTION_KEY_LENGTH: Int
The required length for encryption keys used to encrypt Realm data.