UserNotificationListenerAccessStatus Enum

Definition

Specifies whether the user has given the UserNotificationListener access to notifications.

public enum class UserNotificationListenerAccessStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class UserNotificationListenerAccessStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum UserNotificationListenerAccessStatus
var value = Windows.UI.Notifications.Management.UserNotificationListenerAccessStatus.unspecified
Public Enum UserNotificationListenerAccessStatus
Inheritance
UserNotificationListenerAccessStatus
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Fields

Allowed 1

The user granted access to the UserNotificationListener.

Denied 2

The user denied access to the UserNotificationListener.

Unspecified 0

The user has not yet allowed or denied access.

Applies to