public static interface Realm.Transaction
Using this class will automatically handle beginTransaction() and commitTransaction()
If any exception is thrown during the transaction cancelTransaction() will be called instead of
commitTransaction().
| Modifier and Type | Interface and Description |
|---|---|
static class |
Realm.Transaction.Callback
Callback invoked to notify the caller thread.
|
void execute(Realm realm)