open

fun open(configuration: Configuration): Realm

Open a realm instance.

This instance grants access to an underlying realm file defined by the provided Configuration.

Parameters

configuration

the RealmConfiguration used to open the realm.

Throws

on invalid Realm configurations.

if the schema has changed and migration failed.