iOS Guides | Samples

MonoTouch.UIKit.UIApplication.Notifications Class

Notification posted by the UIApplication class.

See Also: UIApplication+Notifications

Syntax

public static class UIApplication.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.UIApplication.Notifications are listed below.

See Also: Object

Public Methods

static
ObserveBackgroundRefreshStatusDidChange(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Strongly typed notification for the UIApplication.BackgroundRefreshStatusDidChangeNotification constant.
static
ObserveContentSizeCategoryChanged(EventHandler<UIContentSizeCategoryChangedEventArgs>) : NSObject
Registers a method to be notified when the UIContentSizeCategoryDidChangeNotification notification is posted.
static
ObserveDidBecomeActive(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Strongly typed notification for the UIApplication.DidBecomeActiveNotification constant.
static
ObserveDidChangeStatusBarFrame(EventHandler<UIStatusBarFrameChangeEventArgs>) : NSObject
Registers a method to be notified when the UIApplicationDidChangeStatusBarFrameNotification notification is posted.
static
ObserveDidChangeStatusBarOrientation(EventHandler<UIStatusBarOrientationChangeEventArgs>) : NSObject
Registers a method to be notified when the UIApplicationDidChangeStatusBarOrientationNotification notification is posted.
static
ObserveDidEnterBackground(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Strongly typed notification for the UIApplication.DidEnterBackgroundNotification constant.
static
ObserveDidFinishLaunching(EventHandler<UIApplicationLaunchEventArgs>) : NSObject
Registers a method to be notified when the UIApplicationDidFinishLaunchingNotification notification is posted.
static
ObserveDidReceiveMemoryWarning(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Strongly typed notification for the UIApplication.DidReceiveMemoryWarningNotification constant.
static
ObserveProtectedDataDidBecomeAvailable(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Strongly typed notification for the UIApplication.ProtectedDataDidBecomeAvailableNotification constant.
static
ObserveProtectedDataWillBecomeUnavailable(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Strongly typed notification for the UIApplication.ProtectedDataWillBecomeUnavailableNotification constant.
static
ObserveSignificantTimeChange(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Strongly typed notification for the UIApplication.SignificantTimeChangeNotification constant.
static
ObserveUserDidTakeScreenshot(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Strongly typed notification for the UIApplication.UserDidTakeScreenshotNotification constant.
static
ObserveWillChangeStatusBarFrame(EventHandler<UIStatusBarFrameChangeEventArgs>) : NSObject
Registers a method to be notified when the UIApplicationWillChangeStatusBarFrameNotification notification is posted.
static
ObserveWillChangeStatusBarOrientation(EventHandler<UIStatusBarOrientationChangeEventArgs>) : NSObject
Registers a method to be notified when the UIApplicationWillChangeStatusBarOrientationNotification notification is posted.
static
ObserveWillEnterForeground(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Strongly typed notification for the UIApplication.WillEnterForegroundNotification constant.
static
ObserveWillResignActive(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Strongly typed notification for the UIApplication.WillResignActiveNotification constant.
static
ObserveWillTerminate(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Strongly typed notification for the UIApplication.WillTerminateNotification constant.