Sdílet prostřednictvím


UIScreen.Notifications Class

Definition

Notifications posted by the UIScreen class.

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

Strongly typed notification for the BrightnessDidChangeNotification constant.

ObserveBrightnessDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the BrightnessDidChangeNotification constant.

ObserveCapturedDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the CapturedDidChangeNotification constant.

ObserveCapturedDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the CapturedDidChangeNotification constant.

ObserveDidConnect(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidConnectNotification constant.

ObserveDidConnect(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidConnectNotification constant.

ObserveDidDisconnect(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidDisconnectNotification constant.

ObserveDidDisconnect(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidDisconnectNotification constant.

ObserveModeDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ModeDidChangeNotification constant.

ObserveModeDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ModeDidChangeNotification constant.

ObserveReferenceDisplayModeStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ReferenceDisplayModeStatusDidChangeNotification constant.

ObserveReferenceDisplayModeStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ReferenceDisplayModeStatusDidChangeNotification constant.

Applies to