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
Registers a method to be notified when the UIApplicationBackgroundRefreshStatusDidChangeNotification notification is posted.
static
ObserveContentSizeCategoryChanged(EventHandler<UIContentSizeCategoryChangedEventArgs>) : NSObject
Registers a method to be notified when the UIContentSizeCategoryDidChangeNotification notification is posted.
static
ObserveDidBecomeActive(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Registers a method to be notified when the UIApplicationDidBecomeActiveNotification notification is posted.
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
Registers a method to be notified when the UIApplicationDidEnterBackgroundNotification notification is posted.
static
ObserveDidFinishLaunching(EventHandler<UIApplicationLaunchEventArgs>) : NSObject
Registers a method to be notified when the UIApplicationDidFinishLaunchingNotification notification is posted.
static
ObserveDidReceiveMemoryWarning(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Registers a method to be notified when the UIApplicationDidReceiveMemoryWarningNotification notification is posted.
static
ObserveProtectedDataDidBecomeAvailable(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Registers a method to be notified when the UIApplicationProtectedDataDidBecomeAvailable notification is posted.
static
ObserveProtectedDataWillBecomeUnavailable(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Registers a method to be notified when the UIApplicationProtectedDataWillBecomeUnavailable notification is posted.
static
ObserveSignificantTimeChange(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Registers a method to be notified when the UIApplicationSignificantTimeChangeNotification notification is posted.
static
ObserveUserDidTakeScreenshot(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Registers a method to be notified when the UIApplicationUserDidTakeScreenshotNotification notification is posted.
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
Registers a method to be notified when the UIApplicationWillEnterForegroundNotification notification is posted.
static
ObserveWillResignActive(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Registers a method to be notified when the UIApplicationWillResignActiveNotification notification is posted.
static
ObserveWillTerminate(EventHandler<MonoTouch.Foundation.NSNotificationEventArgs>) : NSObject
Registers a method to be notified when the UIApplicationWillTerminateNotification notification is posted.