iOS Guides | Samples

UIKit.UIScreen.Notifications Class

Notification posted by the UIScreen class.

See Also: UIScreen+Notifications

Syntax

public static class 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.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0

The members of UIKit.UIScreen.Notifications are listed below.

See Also: Object

Public Methods

static
ObserveBrightnessDidChange(EventHandler<Foundation.NSNotificationEventArgs>) : NSObject
Strongly typed notification for the UIScreen.BrightnessDidChangeNotification constant.
static
ObserveBrightnessDidChange(NSObject, EventHandler<Foundation.NSNotificationEventArgs>) : NSObject
Strongly typed notification for the UIScreen.BrightnessDidChangeNotification constant.
static
ObserveCapturedDidChange(EventHandler<Foundation.NSNotificationEventArgs>) : NSObject
Strongly typed notification for the UIScreen.CapturedDidChangeNotification constant.
static
ObserveCapturedDidChange(NSObject, EventHandler<Foundation.NSNotificationEventArgs>) : NSObject
Strongly typed notification for the UIScreen.CapturedDidChangeNotification constant.
static
ObserveDidConnect(EventHandler<Foundation.NSNotificationEventArgs>) : NSObject
Strongly typed notification for the UIScreen.DidConnectNotification constant.
static
ObserveDidConnect(NSObject, EventHandler<Foundation.NSNotificationEventArgs>) : NSObject
Strongly typed notification for the UIScreen.DidConnectNotification constant.
static
ObserveDidDisconnect(EventHandler<Foundation.NSNotificationEventArgs>) : NSObject
Strongly typed notification for the UIScreen.DidDisconnectNotification constant.
static
ObserveDidDisconnect(NSObject, EventHandler<Foundation.NSNotificationEventArgs>) : NSObject
Strongly typed notification for the UIScreen.DidDisconnectNotification constant.
static
ObserveModeDidChange(EventHandler<Foundation.NSNotificationEventArgs>) : NSObject
Strongly typed notification for the UIScreen.ModeDidChangeNotification constant.
static
ObserveModeDidChange(NSObject, EventHandler<Foundation.NSNotificationEventArgs>) : NSObject
Strongly typed notification for the UIScreen.ModeDidChangeNotification constant.