Join us at MongoDB.local London on 7 May to unlock new possibilities for your data. Use WEB50 to save 50%.
Register now >
Docs Menu
Docs Home
/ /
io.realm

Interface Realm.Transaction

Enclosing class:

Realm

Encapsulates a Realm transaction.Using this class will automatically handle io.realm.Realm.beginTransaction() and io.realm.Realm.commitTransaction() If any exception is thrown during the transaction io.realm.Realm.cancelTransaction() will be called instead of io.realm.Realm.commitTransaction().

Modifier and Type
Class and Description

public static

public static interface

public static interface

Modifier and Type
Method and Description

public void

Realm realm
)
public void execute (
Realm realm
)

Back

Realm.Callback

On this page