Share via


NSUserDefaults.Notifications Class

Definition

Notifications posted by the NSUserDefaults class.

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

Strongly typed notification for the CompletedInitialSyncNotification constant.

ObserveCompletedInitialSync(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the CompletedInitialSyncNotification constant.

ObserveDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidChangeNotification constant.

ObserveDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidChangeNotification constant.

ObserveDidChangeAccounts(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidChangeAccountsNotification constant.

ObserveDidChangeAccounts(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidChangeAccountsNotification constant.

ObserveNoCloudAccount(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the NoCloudAccountNotification constant.

ObserveNoCloudAccount(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the NoCloudAccountNotification constant.

ObserveSizeLimitExceeded(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SizeLimitExceededNotification constant.

ObserveSizeLimitExceeded(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SizeLimitExceededNotification constant.

Applies to