Share via


UIApplication.Notifications Class

Definition

Notifications posted by the UIApplication class.

public static class UIApplication.Notifications
type UIApplication.Notifications = class
Inheritance
UIApplication.Notifications

Remarks

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

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

Methods

Name Description
ObserveAnnouncementDidFinish(EventHandler<UIAccessibilityAnnouncementFinishedEventArgs>)

Strongly typed notification for the AnnouncementDidFinishNotification constant.

ObserveAnnouncementDidFinish(NSObject, EventHandler<UIAccessibilityAnnouncementFinishedEventArgs>)

Strongly typed notification for the AnnouncementDidFinishNotification constant.

ObserveAssistiveTechnologyKey(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the AssistiveTechnologyKey constant.

ObserveAssistiveTechnologyKey(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the AssistiveTechnologyKey constant.

ObserveAssistiveTouchStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the AssistiveTouchStatusDidChangeNotification constant.

ObserveAssistiveTouchStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the AssistiveTouchStatusDidChangeNotification constant.

ObserveBackgroundRefreshStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the BackgroundRefreshStatusDidChangeNotification constant.

ObserveBackgroundRefreshStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the BackgroundRefreshStatusDidChangeNotification constant.

ObserveBoldTextStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the BoldTextStatusDidChangeNotification constant.

ObserveBoldTextStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the BoldTextStatusDidChangeNotification constant.

ObserveButtonShapesEnabledStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ButtonShapesEnabledStatusDidChangeNotification constant.

ObserveButtonShapesEnabledStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ButtonShapesEnabledStatusDidChangeNotification constant.

ObserveClosedCaptioningStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ClosedCaptioningStatusDidChangeNotification constant.

ObserveClosedCaptioningStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ClosedCaptioningStatusDidChangeNotification constant.

ObserveContentSizeCategoryChanged(EventHandler<UIContentSizeCategoryChangedEventArgs>)

Strongly typed notification for the ContentSizeCategoryChangedNotification constant.

ObserveContentSizeCategoryChanged(NSObject, EventHandler<UIContentSizeCategoryChangedEventArgs>)

Strongly typed notification for the ContentSizeCategoryChangedNotification constant.

ObserveDarkerSystemColorsStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DarkerSystemColorsStatusDidChangeNotification constant.

ObserveDarkerSystemColorsStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DarkerSystemColorsStatusDidChangeNotification constant.

ObserveDidBecomeActive(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidBecomeActiveNotification constant.

ObserveDidBecomeActive(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidBecomeActiveNotification constant.

ObserveDidChangeStatusBarFrame(EventHandler<UIStatusBarFrameChangeEventArgs>)

Strongly typed notification for the DidChangeStatusBarFrameNotification constant.

ObserveDidChangeStatusBarFrame(NSObject, EventHandler<UIStatusBarFrameChangeEventArgs>)

Strongly typed notification for the DidChangeStatusBarFrameNotification constant.

ObserveDidChangeStatusBarOrientation(EventHandler<UIStatusBarOrientationChangeEventArgs>)

Strongly typed notification for the DidChangeStatusBarOrientationNotification constant.

ObserveDidChangeStatusBarOrientation(NSObject, EventHandler<UIStatusBarOrientationChangeEventArgs>)

Strongly typed notification for the DidChangeStatusBarOrientationNotification constant.

ObserveDidEnterBackground(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidEnterBackgroundNotification constant.

ObserveDidEnterBackground(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidEnterBackgroundNotification constant.

ObserveDidFinishLaunching(EventHandler<UIApplicationLaunchEventArgs>)

Strongly typed notification for the DidFinishLaunchingNotification constant.

ObserveDidFinishLaunching(NSObject, EventHandler<UIApplicationLaunchEventArgs>)

Strongly typed notification for the DidFinishLaunchingNotification constant.

ObserveDidReceiveMemoryWarning(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidReceiveMemoryWarningNotification constant.

ObserveDidReceiveMemoryWarning(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidReceiveMemoryWarningNotification constant.

ObserveElementFocused(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ElementFocusedNotification constant.

ObserveElementFocused(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ElementFocusedNotification constant.

ObserveFocusedElementKey(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the FocusedElementKey constant.

ObserveFocusedElementKey(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the FocusedElementKey constant.

ObserveGrayscaleStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the GrayscaleStatusDidChangeNotification constant.

ObserveGrayscaleStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the GrayscaleStatusDidChangeNotification constant.

ObserveGuidedAccessStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the GuidedAccessStatusDidChangeNotification constant.

ObserveGuidedAccessStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the GuidedAccessStatusDidChangeNotification constant.

ObserveHearingDevicePairedEarDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the HearingDevicePairedEarDidChangeNotification constant.

ObserveHearingDevicePairedEarDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the HearingDevicePairedEarDidChangeNotification constant.

ObserveInvertColorsStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the InvertColorsStatusDidChangeNotification constant.

ObserveInvertColorsStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the InvertColorsStatusDidChangeNotification constant.

ObserveMonoAudioStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the MonoAudioStatusDidChangeNotification constant.

ObserveMonoAudioStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the MonoAudioStatusDidChangeNotification constant.

ObserveOnOffSwitchLabelsDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the OnOffSwitchLabelsDidChangeNotification constant.

ObserveOnOffSwitchLabelsDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the OnOffSwitchLabelsDidChangeNotification constant.

ObservePrefersCrossFadeTransitionsStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the PrefersCrossFadeTransitionsStatusDidChangeNotification constant.

ObservePrefersCrossFadeTransitionsStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the PrefersCrossFadeTransitionsStatusDidChangeNotification constant.

ObserveProtectedDataDidBecomeAvailable(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ProtectedDataDidBecomeAvailable constant.

ObserveProtectedDataDidBecomeAvailable(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ProtectedDataDidBecomeAvailable constant.

ObserveProtectedDataWillBecomeUnavailable(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ProtectedDataWillBecomeUnavailable constant.

ObserveProtectedDataWillBecomeUnavailable(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ProtectedDataWillBecomeUnavailable constant.

ObserveReduceMotionStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ReduceMotionStatusDidChangeNotification constant.

ObserveReduceMotionStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ReduceMotionStatusDidChangeNotification constant.

ObserveReduceTransparencyStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ReduceTransparencyStatusDidChangeNotification constant.

ObserveReduceTransparencyStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ReduceTransparencyStatusDidChangeNotification constant.

ObserveShakeToUndoDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ShakeToUndoDidChangeNotification constant.

ObserveShakeToUndoDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ShakeToUndoDidChangeNotification constant.

ObserveShouldDifferentiateWithoutColorDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ShouldDifferentiateWithoutColorDidChangeNotification constant.

ObserveShouldDifferentiateWithoutColorDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ShouldDifferentiateWithoutColorDidChangeNotification constant.

ObserveSignificantTimeChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SignificantTimeChangeNotification constant.

ObserveSignificantTimeChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SignificantTimeChangeNotification constant.

ObserveSpeakScreenStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SpeakScreenStatusDidChangeNotification constant.

ObserveSpeakScreenStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SpeakScreenStatusDidChangeNotification constant.

ObserveSpeakSelectionStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SpeakSelectionStatusDidChangeNotification constant.

ObserveSpeakSelectionStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SpeakSelectionStatusDidChangeNotification constant.

ObserveSwitchControlStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SwitchControlStatusDidChangeNotification constant.

ObserveSwitchControlStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SwitchControlStatusDidChangeNotification constant.

ObserveUnfocusedElementKey(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the UnfocusedElementKey constant.

ObserveUnfocusedElementKey(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the UnfocusedElementKey constant.

ObserveUserDidTakeScreenshot(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the UserDidTakeScreenshotNotification constant.

ObserveUserDidTakeScreenshot(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the UserDidTakeScreenshotNotification constant.

ObserveVideoAutoplayStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the VideoAutoplayStatusDidChangeNotification constant.

ObserveVideoAutoplayStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the VideoAutoplayStatusDidChangeNotification constant.

ObserveVoiceOverStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the VoiceOverStatusDidChangeNotification constant.

ObserveVoiceOverStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the VoiceOverStatusDidChangeNotification constant.

ObserveWillChangeStatusBarFrame(EventHandler<UIStatusBarFrameChangeEventArgs>)

Strongly typed notification for the WillChangeStatusBarFrameNotification constant.

ObserveWillChangeStatusBarFrame(NSObject, EventHandler<UIStatusBarFrameChangeEventArgs>)

Strongly typed notification for the WillChangeStatusBarFrameNotification constant.

ObserveWillChangeStatusBarOrientation(EventHandler<UIStatusBarOrientationChangeEventArgs>)

Strongly typed notification for the WillChangeStatusBarOrientationNotification constant.

ObserveWillChangeStatusBarOrientation(NSObject, EventHandler<UIStatusBarOrientationChangeEventArgs>)

Strongly typed notification for the WillChangeStatusBarOrientationNotification constant.

ObserveWillEnterForeground(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillEnterForegroundNotification constant.

ObserveWillEnterForeground(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillEnterForegroundNotification constant.

ObserveWillResignActive(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillResignActiveNotification constant.

ObserveWillResignActive(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillResignActiveNotification constant.

ObserveWillTerminate(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillTerminateNotification constant.

ObserveWillTerminate(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillTerminateNotification constant.

Applies to