Share via


MidiUmpEndpoint.Notifications Class

Definition

Notifications posted by the MidiUmpEndpoint class.

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

Strongly typed notification for the WasAddedNotification constant.

ObserveWasAdded(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WasAddedNotification constant.

ObserveWasRemoved(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WasRemovedNotification constant.

ObserveWasRemoved(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WasRemovedNotification constant.

ObserveWasUpdated(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WasUpdatedNotification constant.

ObserveWasUpdated(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WasUpdatedNotification constant.

Applies to