Class PermissionStatus
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The PermissionStatus interface of the Permissions API provides the state of an object and an event handler for monitoring changes to said state.
[Value("PermissionStatus")]
public class PermissionStatus : EventTarget
- Inheritance
-
PermissionStatus
- Derived
- Inherited Members
Remarks
Constructors
PermissionStatus()
public PermissionStatus()
Properties
Name
The name read-only property of the PermissionStatus interface returns the name of a requested permission.
[Value("name")]
public string Name { get; }
Property Value
- string
A read-only value that is identical to the
nameargument passed to Query(Object).
Remarks
Onchange
[Value("onchange")]
public EventHandlerNonNull Onchange { get; set; }
Property Value
State
The state read-only property of the
PermissionStatus interface returns the state of a requested permission.
This property returns one of 'granted', 'denied', or'prompt'.
[Value("state")]
public PermissionState State { get; }
Property Value
- PermissionState
One of the following: