NotificationSetting enumeration

Applies to Windows and Windows Phone

Specifies the limitations on tile or toast notification display.

Syntax


var value = Windows.UI.Notifications.NotificationSetting.enabled;

Attributes

[Version(0x06020000)]

Members

The NotificationSetting enumeration has these members.

MemberValueDescription
Enabled | enabled0

All notifications raised by this app can be displayed.

DisabledForApplication | disabledForApplication1

The user has disabled notifications for this app.

DisabledForUser | disabledForUser2

The user or administrator has disabled all notifications for this user on this computer.

DisabledByGroupPolicy | disabledByGroupPolicy3

An administrator has disabled all notifications on this computer through group policy. The group policy setting overrides the user's setting.

DisabledByManifest | disabledByManifest4

This app has not declared itself toast capable in its package.appxmanifest file. This setting is found on the manifest's Application UI page, under the Notification section. For an app to send toast, the Toast Capable option must be set to "Yes".

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.UI.Notifications
Windows::UI::Notifications [C++]

Metadata

Windows.winmd

See also

TileUpdater.Setting
ToastNotifier.Setting
App tiles and badges sample
Toast notifications sample

 

 

Show:
© 2014 Microsoft. All rights reserved.