Share via


IFeedProvider Interface

Definition

The interface implemented by feed providers for the Windows Widgets Board. The methods of this interface are invoked by the Widgets Board to request custom query string parameters, typically to support authentication scenarios, and to provide telemetry information.

public interface class IFeedProvider
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.Widgets.WidgetContract, 262144)]
/// [Windows.Foundation.Metadata.Guid(1922277675, 809, 17805, 172, 37, 83, 50, 190, 71, 143, 222)]
struct IFeedProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.Widgets.WidgetContract), 262144)]
[Windows.Foundation.Metadata.Guid(1922277675, 809, 17805, 172, 37, 83, 50, 190, 71, 143, 222)]
public interface IFeedProvider
Public Interface IFeedProvider
Attributes

Remarks

For information on implementing feed providers, see Feed providers.

Methods

OnCustomQueryParametersRequested(CustomQueryParametersRequestedArgs)

Notifies the feed provider that the Widgets Board needs the the app to update a feed's custom query parameters. This occurs when a fetch of feed data fails due to due to an expired authentication token was set in a previous call to Microsoft.Windows.Widgets.Feeds.Providers.FeedManager.SetCustomQueryParameters.

OnFeedDisabled(FeedDisabledArgs)

Invoked by the Widgets Board when a feed is disabled.

OnFeedEnabled(FeedEnabledArgs)

Invoked by the Widgets Board when a feed is enabled.

OnFeedProviderDisabled(FeedProviderDisabledArgs)

Invoked by the Widgets Board when all of the feeds for this provider have been disabled.

OnFeedProviderEnabled(FeedProviderEnabledArgs)

Invoked when a feed associated with the provider is created by the Widgets Board host.

Applies to