PermissionStatus Class
The state of a permission (https://w3c.github.io/permissions/#permissionstatus-interface), returned by Permissions.Query. Its change event is fired when the state changes (e.g. when PermissionStore.SetState is called), while its document is fully active.
public sealed class PermissionStatus : EventTarget- Inheritance
EventTargetPermissionStatus
Properties
| Name | Description |
|---|---|
| Name | Gets the name of the powerful feature. |
| OnChange | Gets or sets the event handler of the change event. |
| State | Gets the state of the permission. |
Name
Permissions.csGets the name of the powerful feature.
public string Name { get; }OnChange
Permissions.csGets or sets the event handler of the change event.
Property value
See also
State
Permissions.csGets the state of the permission.
public PermissionState State { get; }