NotificationSetting enumeration

This topic has not yet been rated - Rate this topic

Specifies the limitations on tile or toast notification display.

Syntax


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

Attributes

VersionAttribute(NTDDI_WIN8)

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

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

 

 

Build date: 12/4/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.