Mac Guides | Samples

MonoMac.Foundation.NSMetadataQuery.Notifications Class

Notification posted by the NSMetadataQuery class.

See Also: NSMetadataQuery+Notifications

Syntax

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

Requirements

Namespace: MonoMac.Foundation
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0

The members of MonoMac.Foundation.NSMetadataQuery.Notifications are listed below.

See Also: Object

Public Methods

static
ObserveDidFinishGathering(EventHandler<NSNotificationEventArgs>) : NSObject
Registers a method to be notified when the NSMetadataQueryDidFinishGatheringNotification notification is posted.
static
ObserveDidStartGathering(EventHandler<NSNotificationEventArgs>) : NSObject
Registers a method to be notified when the NSMetadataQueryDidStartGatheringNotification notification is posted.
static
ObserveDidUpdate(EventHandler<NSNotificationEventArgs>) : NSObject
Registers a method to be notified when the NSMetadataQueryDidUpdateNotification notification is posted.
static
ObserveGatheringProgress(EventHandler<NSNotificationEventArgs>) : NSObject
Registers a method to be notified when the NSMetadataQueryGatheringProgressNotification notification is posted.