Microsoft.Windows.Widgets.Providers 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.
Provides APIs for implementing a widget provider for Windows Widgets.
Classes
WidgetActionInvokedArgs |
Provides data for the Microsoft.Windows.Widgets.Providers.IWidgetProvider.OnActionInvoked callback, which is raised when an action is invoked on a widget, such as the user clicking on a button. |
WidgetAnalyticsInfoReportedArgs |
Provides data for the OnAnalyticsInfoReported) event which is raised when the widget host reports analytics data associated with a user interaction with a widget. |
WidgetContext |
Provides information about the configuration of a widget within the widget host. |
WidgetContextChangedArgs |
Provides data for the Microsoft.Windows.Widgets.Providers.IWidgetProvider.OnWidgetContextChanged callback. |
WidgetCustomizationRequestedArgs |
Provides data for the OnCustomizationRequested) event which is raised when the user has requested widget customization through the widget host UI. |
WidgetErrorInfoReportedArgs |
Provides data for the OnErrorInfoReported) event which is raised when the widget host reports a widget error. |
WidgetInfo |
Contains status information for a widget, including the visual template, data template, custom state, the last update time, and context information from the widget host. |
WidgetManager |
Provides methods for querying, updating, and deleting widgets. |
WidgetUpdateRequestOptions |
Provides data for calls to Microsoft.Windows.Widgets.Providers.WidgetManager.UpdateWidget. |
Interfaces
IWidgetManager |
The interface that is implemented by the WidgetManager class, which provides methods for querying, updating and deleting widgets. |
IWidgetProvider |
This interface is implemented by Windows Widget providers to receive callbacks from the widget host for widget lifetime events. |
IWidgetProvider2 |
This interface is implemented by Windows widget providers to receive callbacks from the widget host for widget customization events. |
IWidgetProviderAnalytics |
This optional interface can be implemented by Windows widget providers to receive callbacks from the widget host for widget analytics events. |
IWidgetProviderErrors |
This interface is implemented by Windows widget providers to receive callbacks from the widget host for widget errors. |
Remarks
IWidgetProvider is the interface that must be implemented by widget providers in order to receive callback notifications for widget lifecycle events. This interface must be implemented as an Out-of-process COM Server.
The WidgetManager class provides methods for updating, querying, and deleting widgets.