public enum AdRuleType extends Enum<AdRuleType>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AdRuleType.Adapter |
| 枚举常量和说明 |
|---|
CLICK |
CONVERSION |
EXPOSURE |
| 限定符和类型 | 方法和说明 |
|---|---|
static AdRuleType |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static AdRuleType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static AdRuleType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final AdRuleType EXPOSURE
public static final AdRuleType CLICK
public static final AdRuleType CONVERSION
public static AdRuleType[] values()
for (AdRuleType c : AdRuleType.values()) System.out.println(c);
public static AdRuleType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getValue()
public String toString()
toString 在类中 Enum<AdRuleType>public static AdRuleType fromValue(String text)
Copyright © 2020. All rights reserved.