public static enum IPlayer.PropertyKey extends java.lang.Enum<IPlayer.PropertyKey>
枚举常量和说明 |
---|
CONNECT_INFO
主URL的连接信息
返回的字符串是JSON对象,带url/ip/eagleID/cdnVia/cdncip/cdnsip等字段(如果解析不到则不添加)
例如:{"url":"http://xxx","openCost":23,"ip":"11.111.111.11","cdnVia":"xxx","cdncip":"22.222.222.22","cdnsip":"xxx"}
|
RESPONSE_INFO
Http的response信息
返回的字符串是JSON数组,每个对象带response和type字段。
|
限定符和类型 | 方法和说明 |
---|---|
int |
getValue() |
static IPlayer.PropertyKey |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static IPlayer.PropertyKey[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final IPlayer.PropertyKey RESPONSE_INFO
public static final IPlayer.PropertyKey CONNECT_INFO
public static IPlayer.PropertyKey[] values()
for (IPlayer.PropertyKey c : IPlayer.PropertyKey.values()) System.out.println(c);
public static IPlayer.PropertyKey valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public int getValue()