Share via


UIScene.Notifications Class

Definition

Notifications posted by the UIScene class.

public static class UIScene.Notifications
type UIScene.Notifications = class
Inheritance
UIScene.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
ObserveDidActivate(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidActivateNotification constant.

ObserveDidActivate(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidActivateNotification constant.

ObserveDidDisconnect(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidDisconnectNotification constant.

ObserveDidDisconnect(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidDisconnectNotification constant.

ObserveDidEnterBackground(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidEnterBackgroundNotification constant.

ObserveDidEnterBackground(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidEnterBackgroundNotification constant.

ObserveSystemProtectionDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SystemProtectionDidChangeNotification constant.

ObserveSystemProtectionDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SystemProtectionDidChangeNotification constant.

ObserveWillConnect(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillConnectNotification constant.

ObserveWillConnect(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillConnectNotification constant.

ObserveWillDeactivate(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillDeactivateNotification constant.

ObserveWillDeactivate(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillDeactivateNotification constant.

ObserveWillEnterForeground(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillEnterForegroundNotification constant.

ObserveWillEnterForeground(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillEnterForegroundNotification constant.

Applies to