public enum V8Priority extends java.lang.Enum<V8Priority>
| Enum Constant and Description |
|---|
BestEffort
The isolate does not relate to content that is currently important to the user.
|
UserBlocking
The isolate contributes to content that is of the utmost importance to
the user, like visible content in the focused window.
|
UserVisible
The isolate contributes to content that is visible to the user, like a
visible iframe that's not interacted directly with.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Gets id.
|
java.lang.String |
getName()
Gets name.
|
static V8Priority |
parse(int id)
Parse priority from id.
|
static V8Priority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static V8Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final V8Priority BestEffort
public static final V8Priority UserVisible
public static final V8Priority UserBlocking
public static V8Priority[] values()
for (V8Priority c : V8Priority.values()) System.out.println(c);
public static V8Priority 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 static V8Priority parse(int id)
id - the idpublic int getId()
public java.lang.String getName()