Freigeben über


StoreServicesEngagementManager Class

Definition

Provides members you can use to configure your app to receive targeted push notifications from Partner Center.

public ref class StoreServicesEngagementManager sealed
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Static(Microsoft.Services.Store.Engagement.IStoreServicesEngagementManagerStatics, 1)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Version(1)]
class StoreServicesEngagementManager final
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Static(typeof(Microsoft.Services.Store.Engagement.IStoreServicesEngagementManagerStatics), 1)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class StoreServicesEngagementManager
Public NotInheritable Class StoreServicesEngagementManager
Inheritance
Object Platform::Object IInspectable StoreServicesEngagementManager
Attributes

Additional features and requirements

Software Development Kit
Minimum supported OS
Windows 10 (10.0.10240.0)

Remarks

To get a StoreServicesEngagementManager object, use the GetDefault method.

Before you can use this class in your code, you must first install the Microsoft Store Services SDK and add a reference to the Microsoft Engagement Framework to your project. For more guidance about how to use the members of this class, including a code example, see Configure your app for targeted push notifications.

Methods

GetDefault()

Gets a StoreServicesEngagementManager object that you can use to configure your app to receive targeted push notifications from Partner Center.

ParseArgumentsAndTrackAppLaunch(String)

Notifies Partner Center that your app was launched in response to a targeted push notification from Partner Center, and returns the original launch arguments for your app.

RegisterNotificationChannelAsync()

Registers your app to receive targeted push notifications from Partner Center.

RegisterNotificationChannelAsync(StoreServicesNotificationChannelParameters)

Registers your app to receive targeted push notifications from Partner Center, with the option to specify the notification channel to use for the notifications.

UnregisterNotificationChannelAsync()

Explicitly invalidates the channel that is being used for notifications so the app no longer receives push notifications from any services, including targeted Partner Center push notifications and other notifications using Windows Push Notifications Services (WNS).

Applies to

See also