Realm.Sync.ChangeEvent

Change info passed when receiving sync 'change' events

changes

The change indexes for all added, removed, and modified objects in the changed Realm. This object is a hashmap of object types to arrays of indexes for all changed objects:

Type:
object
Example:
{ 
  object_type_1: { 
    insertions:    [indexes...],
    deletions:     [indexes...],
    modifications: [indexes...]
  },
  object_type_2:
    ...
}
oldRealm

The changed Realm at the old state before the changes were applied

Type:
Realm
path

The path of the changed Realm

Type:
string
realm

The changed realm

Type:
Realm