NotificationPermission Enum

Whether the user allows the origin to show notifications (https://notifications.spec.whatwg.org/#enumdef-notificationpermission).

public enum NotificationPermission

Fields

NameValueDescription
Default0The user was not asked: the notifications are not shown.
Denied1The user denied the permission.
Granted2The user granted the permission.