編輯

共用方式為


UIPasteboard.Notifications Class

Definition

Notification posted by the UIPasteboard class.

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

ObserveChanged(EventHandler<UIPasteboardChangeEventArgs>)

Strongly typed notification for the ChangedNotification constant.

ObserveChanged(NSObject, EventHandler<UIPasteboardChangeEventArgs>)

Strongly typed notification for the ChangedNotification constant.

ObserveRemoved(EventHandler<UIPasteboardChangeEventArgs>)

Strongly typed notification for the RemovedNotification constant.

ObserveRemoved(NSObject, EventHandler<UIPasteboardChangeEventArgs>)

Strongly typed notification for the RemovedNotification constant.

Applies to