Enum AdFrameType
- java.lang.Object
-
- java.lang.Enum<AdFrameType>
-
- org.openqa.selenium.devtools.v113.page.model.AdFrameType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AdFrameType>
@Beta public enum AdFrameType extends java.lang.Enum<AdFrameType>
Indicates whether a frame has been identified as an ad.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdFrameTypefromString(java.lang.String s)java.lang.StringtoJson()java.lang.StringtoString()static AdFrameTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AdFrameType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final AdFrameType NONE
-
CHILD
public static final AdFrameType CHILD
-
ROOT
public static final AdFrameType ROOT
-
-
Method Detail
-
values
public static AdFrameType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AdFrameType c : AdFrameType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AdFrameType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
fromString
public static AdFrameType fromString(java.lang.String s)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<AdFrameType>
-
toJson
public java.lang.String toJson()
-
-