FeedManager Class
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.
Provides methods for feed providers to manage and query feeds.
public ref class FeedManager sealed : IFeedManager, IFeedManager2
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.Widgets.WidgetContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class FeedManager final : IFeedManager, IFeedManager2
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.Widgets.WidgetContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class FeedManager : IFeedManager, IFeedManager2
Public NotInheritable Class FeedManager
Implements IFeedManager, IFeedManager2
- Inheritance
- Attributes
- Implements
Remarks
Get an instance of this class by calling GetDefault
Methods
GetDefault() |
Gets the default instance of the FeedManager for the calling feed provider app. |
GetEnabledFeedProviders() |
Gets a list of FeedProviderInfo objects representing the enabled feed providers associated with the calling feed provider app. |
SendMessageToContent(String, String, String) |
Send a string message to the web content in a feed being displayed in the feeds host. |
SetCustomQueryParameters(CustomQueryParametersUpdateOptions) |
Sets the query parameters that are passed to the remote feed provider URI when the Widgets Board is requesting feed content. This enables scenarios like passing authentication tokens to the remote service. |
TryShowAnnouncement(String, String, FeedAnnouncement) |
Requests that an announcement be shown in the taskbar. The feeds host may or may not show this announcement, based on its policies. If the user interacts with the announcement, the feed provider's OnAnnouncementInvoked method will be called. |