public static class GeckoSession.PermissionDelegate.ContentPermission extends Object
Modifier and Type | Field and Description |
---|---|
int |
permission
The type of this permission; one of
PERMISSION_* . |
boolean |
privateMode
A boolean indicating whether this content permission is associated with
private browsing.
|
String |
uri
The URI associated with this content permission.
|
int |
value
The value of the permission; one of
VALUE_ . |
static int |
VALUE_ALLOW
The corresponding permission is currently set to allow.
|
static int |
VALUE_DENY
The corresponding permission is currently set to deny.
|
static int |
VALUE_PROMPT
The corresponding permission is currently set to default/prompt behavior.
|
Modifier | Constructor and Description |
---|---|
protected |
ContentPermission() |
public static final int VALUE_PROMPT
public static final int VALUE_DENY
public static final int VALUE_ALLOW
@NonNull public final String uri
public final boolean privateMode
public final int permission
PERMISSION_*
.public final int value
VALUE_
.