AppNotificationManager.Setting Property
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.
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.