UserNotificationListenerAccessStatus Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Name | Value | Description |
---|---|---|
Unspecified | 0 | The user has not yet allowed or denied access. |
Allowed | 1 | The user granted access to the UserNotificationListener. |
Denied | 2 | The user denied access to the UserNotificationListener. |