UIScreen.Notifications Class

Definition

Notification posted by the UIScreen class.

public static class UIScreen.Notifications
type UIScreen.Notifications = class
Inheritance
UIScreen.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.

Methods

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.

Applies to