Share via


GCMouse.Notifications Class

Definition

Notifications posted by the GCMouse class.

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

Strongly typed notification for the DidBecomeCurrentNotification constant.

ObserveDidBecomeCurrent(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidBecomeCurrentNotification 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.

ObserveDidStopBeingCurrent(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidStopBeingCurrentNotification constant.

ObserveDidStopBeingCurrent(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidStopBeingCurrentNotification constant.

Applies to