private register_notify_realm_object_changed ( NotifyRealmObjectCallback callback ) : void | ||
callback | NotifyRealmObjectCallback | |
Результат | void |
static Realm() { NativeCommon.Initialize(); NativeCommon.NotifyRealmCallback notifyRealm = RealmState.NotifyRealmChanged; NativeCommon.NotifyRealmObjectCallback notifyRealmObject = RealmObject.NotifyRealmObjectPropertyChanged; GCHandle.Alloc(notifyRealm); GCHandle.Alloc(notifyRealmObject); NativeCommon.register_notify_realm_changed(notifyRealm); NativeCommon.register_notify_realm_object_changed(notifyRealmObject); SynchronizationContextEventLoopSignal.Install(); }
static Realm() { NativeCommon.Initialize(); NativeCommon.register_notify_realm_changed(NotifyRealmChanged); NativeCommon.register_notify_realm_object_changed(RealmObject.NotifyRealmObjectPropertyChanged); }