Realms.ListHandle.AddNotificationCallback C# (CSharp) Method

AddNotificationCallback() public method

public AddNotificationCallback ( IntPtr managedCollectionHandle, NotificationCallbackDelegate callback ) : IntPtr
managedCollectionHandle System.IntPtr
callback NotificationCallbackDelegate
return System.IntPtr
        public override IntPtr AddNotificationCallback(IntPtr managedCollectionHandle, NotificationCallbackDelegate callback)
        {
            NativeException nativeException;
            var result = NativeMethods.add_notification_callback(this, managedCollectionHandle, callback, out nativeException);
            nativeException.ThrowIfNecessary();
            return result;
        }