@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="PermissionStatus")
public class PermissionStatus
extends EventTarget
| Modifier and Type | Field and Description |
|---|---|
@JsNullable EventHandler |
onchange
The onchange event handler of the PermissionStatus interface is called whenever the PermissionStatus.state property changes.
|
| Modifier | Constructor and Description |
|---|---|
protected |
PermissionStatus() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChangeListener(EventListener callback) |
void |
addChangeListener(EventListener callback,
AddEventListenerOptions options) |
void |
addChangeListener(EventListener callback,
boolean useCapture) |
java.lang.String |
name() |
void |
removeChangeListener(EventListener callback) |
void |
removeChangeListener(EventListener callback,
boolean useCapture) |
void |
removeChangeListener(EventListener callback,
EventListenerOptions options) |
java.lang.String |
state()
The state read-only property of the PermissionStatus interface returns the state of a requested permission.
|
addEventListener, addEventListener, addEventListener, dispatchEvent, removeEventListener, removeEventListener, removeEventListenerassign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, valuespublic @JsNullable EventHandler onchange
@JsProperty(name="name") @Nonnull @PermissionName public java.lang.String name()
@JsProperty(name="state") @Nonnull @PermissionState public java.lang.String state()
@JsOverlay
public final void addChangeListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addChangeListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addChangeListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeChangeListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeChangeListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeChangeListener(@Nonnull
EventListener callback)