public static enum BrowserFrame.Allow extends java.lang.Enum<BrowserFrame.Allow>
Enum Constant and Description |
---|
AUTOPLAY
Controls whether the current document is allowed to autoplay media requested through the interface.
|
CAMERA
Controls whether the current document is allowed to use video input devices.
|
DOCUMENT_DOMAIN
Controls whether the current document is allowed to set document.domain.
|
ENCRYPTED_MEDIA
Controls whether the current document is allowed to use the Encrypted Media Extensions API (EME).
|
FULLSCREEN
Controls whether the current document is allowed to use Element.requestFullScreen().
|
GEOLOCATION
Controls whether the current document is allowed to use the Geolocation Interface.
|
MICROPHONE
Controls whether the current document is allowed to use audio input devices.
|
MIDI
Controls whether the current document is allowed to use the Web MIDI API.
|
PAYMENT
Controls whether the current document is allowed to use the Payment Request API.
|
VR
Controls whether the current document is allowed to use the WebVR API.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static BrowserFrame.Allow |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BrowserFrame.Allow[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BrowserFrame.Allow AUTOPLAY
public static final BrowserFrame.Allow CAMERA
public static final BrowserFrame.Allow DOCUMENT_DOMAIN
public static final BrowserFrame.Allow ENCRYPTED_MEDIA
public static final BrowserFrame.Allow FULLSCREEN
public static final BrowserFrame.Allow GEOLOCATION
public static final BrowserFrame.Allow MICROPHONE
public static final BrowserFrame.Allow MIDI
public static final BrowserFrame.Allow PAYMENT
public static final BrowserFrame.Allow VR
public static BrowserFrame.Allow[] values()
for (BrowserFrame.Allow c : BrowserFrame.Allow.values()) System.out.println(c);
public static BrowserFrame.Allow valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getValue()