Windows Dev Center

PushNotificationType enumeration

The type of push notification that has been received from the app server. Used by the NotificationType property.

Syntax


var value = Windows.Networking.PushNotifications.PushNotificationType.toast;

Members

The PushNotificationType enumeration has these members.

MemberValueDescription
Toast | toast0

A push notification to display as toast.

Tile | tile1

A push notification to update one or more elements of a tile.

Badge | badge2

A push notification to update a tile's badge overlay.

Raw | raw3

A push notification to perform an update to a tile that does not involve UI.

TileFlyout | tileFlyout4

A push notification to update an app's tile flyout.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Networking.PushNotifications
Windows::Networking::PushNotifications [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Capabilities

internetClient

Requirements (Windows 8.x and Windows Phone 8.x)

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.Networking.PushNotifications
Windows::Networking::PushNotifications [C++]

Metadata

Windows.winmd

Capabilities

internetClient

Attributes

[Version(0x06020000)]

See also

Windows Push Notification Services (WNS) overview
Push and periodic notifications sample
Quickstart: Sending a tile push notification
Quickstart: Sending a toast push notification
How to update a badge through push notifications
How to authenticate with the Windows Push Notification Service (WNS)
How to request, create, and save a notification channel
Guidelines and checklist for push notifications
Push notification service request and response headers

 

 

Show:
© 2015 Microsoft