NotificationCenter Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The NotificationCenter namespace provides classes for creating and updating widgets in the Today view.
Classes
| Name | Description |
|---|---|
| NCWidgetController |
Coordinates the display of a widget's content with its containing app. |
| NCWidgetListViewController | |
| NCWidgetListViewControllerDidRemoveRowEventArgs |
Provides data for an event based on an Objective-C protocol method. |
| NCWidgetListViewControllerDidReorderEventArgs |
Provides data for an event based on an Objective-C protocol method. |
| NCWidgetListViewDelegate |
This is a class that implements the interface INCWidgetListViewDelegate (for the protocol Subclass this class to easily create a type that implements the protocol. An alternative is to create a subclass of NSObject and then implemented the interface INCWidgetListViewDelegate. |
| NCWidgetListViewDelegate_Extensions |
Extension methods to the INCWidgetListViewDelegate interface to support all the methods from the NCWidgetListViewDelegate protocol. |
| NCWidgetProviding |
Customizes the appearance and behavior of a widget. |
| NCWidgetProviding_Extensions |
Extension methods to the INCWidgetProviding interface to support all the methods from the NCWidgetProviding protocol. |
| NCWidgetSearchViewController | |
| NCWidgetSearchViewDelegate |
This is a class that implements the interface INCWidgetSearchViewDelegate (for the protocol Subclass this class to easily create a type that implements the protocol. An alternative is to create a subclass of NSObject and then implemented the interface INCWidgetSearchViewDelegate. |
| NSExtensionContext_NCWidgetAdditions |
Extension context methods and properties for an NDWidget. |
| NSWidgetSearchForTermEventArgs |
Provides data for an event based on an Objective-C protocol method. |
| NSWidgetSearchResultSelectedEventArgs |
Provides data for an event based on an Objective-C protocol method. |
Interfaces
| Name | Description |
|---|---|
| INCWidgetListViewDelegate |
This interface represents the Objective-C protocol |
| INCWidgetProviding |
Customizes the appearance and behavior of a widget. |
| INCWidgetSearchViewDelegate |
This interface represents the Objective-C protocol |
Enums
| Name | Description |
|---|---|
| NCUpdateResult |
Enumerates values that describe what happened after the application developer attempted to change the state of a widget by using the WidgetPerformUpdate(Action<NCUpdateResult>) method. |
| NCWidgetDisplayMode |
Enumerates widget display modes. |
Delegates
| Name | Description |
|---|---|
| NCWidgetListViewControllerShouldRemoveRow | |
| NCWidgetListViewControllerShouldReorderRow | |
| NCWidgetListViewGetController | |
Remarks
The NotificationCenter namespace allows the creation of widgets, that is, extensions to the Today view.