Share via


IWidgetProviderAnalytics Interface

Definition

This optional interface can be implemented by Windows widget providers to receive callbacks from the widget host for widget analytics events.

public interface class IWidgetProviderAnalytics
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.Widgets.WidgetContract, 131072)]
/// [Windows.Foundation.Metadata.Guid(1712948645, 53639, 18477, 158, 239, 111, 218, 5, 210, 24, 69)]
struct IWidgetProviderAnalytics
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.Widgets.WidgetContract), 131072)]
[Windows.Foundation.Metadata.Guid(1712948645, 53639, 18477, 158, 239, 111, 218, 5, 210, 24, 69)]
public interface IWidgetProviderAnalytics
Public Interface IWidgetProviderAnalytics
Attributes

Remarks

The Windows Widgets Board supports the widget analytics APIs starting with Windows 11, Build 26900.

Methods

OnAnalyticsInfoReported(WidgetAnalyticsInfoReportedArgs)

Raised when the widget host reports analytics data associated with a user interaction with a widget.

Applies to