iOS Guides | Samples

MonoTouch.UIKit.UIWindow.Notifications Class

Notification posted by the UIWindow class.

See Also: UIWindow+Notifications

Syntax

public static class UIWindow.Notifications

Remarks

This is a static class which contains various helper methods that allow developers to observe events posted in the iOS notification hub (NSNotificationCenter).

The methods defined in this class post events invoke the provided method or lambda with a NSNotificationEventArgs parameter which contains strongly typed properties for the notification arguments.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UIWindow.Notifications are listed below.

See Also: Object

Public Methods

static
ObserveDidBecomeHidden(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Registers a method to be notified when the UIWindowDidBecomeHiddenNotification notification is posted.
static
ObserveDidBecomeKey(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Registers a method to be notified when the UIWindowDidBecomeKeyNotification notification is posted.
static
ObserveDidBecomeVisible(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Registers a method to be notified when the UIWindowDidBecomeVisibleNotification notification is posted.
static
ObserveDidResignKey(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Registers a method to be notified when the UIWindowDidResignKeyNotification notification is posted.