MonoMac.Foundation.NSNotificationCenter.AddObserver Method
Documentation for this section has not yet been entered.

Syntax

[System.Obsolete("Use AddObserver(NSObject, Selector, NSString, NSObject) instead")]
public void AddObserver (NSObject observer, MonoMac.ObjCRuntime.Selector aSelector, string aname, NSObject anObject)

Parameters

observer
Documentation for this section has not yet been entered.
aSelector
Documentation for this section has not yet been entered.
aname
Documentation for this section has not yet been entered.
anObject
Documentation for this section has not yet been entered.

Remarks

This is a low-level version of the AddObserver API that allows the consumer to contorl the observer and the selector to notify upon notifications.

Users are encouraged to use the high-level NSNotificationCenter.AddObserver(NSString, Action<NSNotification>, MonoMac.Foundation.NSObject) variant.

Requirements

Namespace: MonoMac.Foundation
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0