Share via


PushNotificationType Enum

Definition

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

public enum class PushNotificationType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class PushNotificationType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum PushNotificationType
var value = Windows.Networking.PushNotifications.PushNotificationType.toast
Public Enum PushNotificationType
Inheritance
PushNotificationType
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
internetClient

Fields

Name Value Description
Toast 0

A push notification to display as toast.

Tile 1

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

Badge 2

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

Raw 3

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

TileFlyout 4

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

Applies to

See also