Share via


AppNotificationManager.Setting Property

Definition

Get the app notification setting status for the app, determining whether notifications are currently enabled or, if not, the mechanism through which notifications are currently disabled.

Note

The AppNotificationManager class has a dependency on the Singleton package. Because of that dependency, there are certain considerations to be aware of if you're calling these APIs from a self-contained app. For more info, and specifics, see Dependencies on additional MSIX packages.

public:
 property AppNotificationSetting Setting { AppNotificationSetting get(); };
AppNotificationSetting Setting();
public AppNotificationSetting Setting { get; }
var appNotificationSetting = appNotificationManager.setting;
Public ReadOnly Property Setting As AppNotificationSetting

Property Value

A value from the AppNotificationSetting enumeration.

Applies to