public static enum AdblockEngine.MatchesResult extends java.lang.Enum<AdblockEngine.MatchesResult>
| Enum Constant and Description |
|---|
ALLOWLISTED
Exception filter is found
|
BLOCKED
Blocking filter is found
|
NOT_ENABLED
Ad blocking is disabled
|
NOT_FOUND
No filter is found
|
| Modifier and Type | Method and Description |
|---|---|
static AdblockEngine.MatchesResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AdblockEngine.MatchesResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdblockEngine.MatchesResult BLOCKED
public static final AdblockEngine.MatchesResult ALLOWLISTED
public static final AdblockEngine.MatchesResult NOT_FOUND
public static final AdblockEngine.MatchesResult NOT_ENABLED
public static AdblockEngine.MatchesResult[] values()
for (AdblockEngine.MatchesResult c : AdblockEngine.MatchesResult.values()) System.out.println(c);
public static AdblockEngine.MatchesResult 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 null