public enum AdStrength extends Enum<AdStrength>
Java class for AdStrength.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AdStrength">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="UNKNOWN"/>
<enumeration value="PENDING"/>
<enumeration value="NO_ADS"/>
<enumeration value="POOR"/>
<enumeration value="AVERAGE"/>
<enumeration value="GOOD"/>
<enumeration value="EXCELLENT"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AVERAGE
Average strength.
|
EXCELLENT
Excellent strength.
|
GOOD
Good strength.
|
NO_ADS
No ads could be generated.
|
PENDING
The ad strength is currently pending.
|
POOR
Poor strength.
|
UNKNOWN
Used for return value only.
|
| Modifier and Type | Method and Description |
|---|---|
static AdStrength |
fromValue(String v) |
String |
value() |
static AdStrength |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdStrength[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdStrength UNKNOWN
public static final AdStrength PENDING
public static final AdStrength NO_ADS
public static final AdStrength POOR
public static final AdStrength AVERAGE
public static final AdStrength GOOD
public static final AdStrength EXCELLENT
public static AdStrength[] values()
for (AdStrength c : AdStrength.values()) System.out.println(c);
public static AdStrength valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static AdStrength fromValue(String v)
Copyright © 2023. All rights reserved.