編輯

共用方式為


NSMetadataQuery.Notifications Class

Definition

Notification posted by the NSMetadataQuery class.

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

ObserveDidFinishGathering(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidFinishGatheringNotification constant.

ObserveDidFinishGathering(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidFinishGatheringNotification constant.

ObserveDidStartGathering(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidStartGatheringNotification constant.

ObserveDidStartGathering(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidStartGatheringNotification constant.

ObserveDidUpdate(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidUpdateNotification constant.

ObserveDidUpdate(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidUpdateNotification constant.

ObserveGatheringProgress(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the GatheringProgressNotification constant.

ObserveGatheringProgress(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the GatheringProgressNotification constant.

Applies to