Mac Guides | Samples

MonoMac.Foundation.NSNotification Class

Inter-application messages that are broadcast on the NSNotificationCenter.

See Also: NSNotification


[MonoMac.Foundation.Register("NSNotification", true)]
public class NSNotification : NSObject



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

The members of MonoMac.Foundation.NSNotification are listed below.

See Also: NSObject

Public Constructors

A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes when the derived class has an [Export] constructor.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

ClassHandleIntPtr. The handle for this class.
NameString. The name given to this notification.
ObjectNSObject. The object payload for the notification.
UserInfoNSDictionary. The optional dictionary payload for the notification.

Public Methods

FromName(String, NSObject) : NSNotification
Creates a new NSNotification with a name and an object payload.
FromName(String, NSObject, NSDictionary) : NSNotification
Creates a new NSNotification with a name, an object and a dictionary payload.

Protected Methods

Releases the resourced used by the NSNotification object.