IFeedProvider Interface
Definition
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 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 FeedManager.SetCustomQueryParameters(CustomQueryParametersUpdateOptions). |
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for