public static enum LiveConstant.MenuType extends Enum<LiveConstant.MenuType>
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getContent() |
String |
getType() |
static LiveConstant.MenuType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static LiveConstant.MenuType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final LiveConstant.MenuType DESC
public static final LiveConstant.MenuType CHAT
public static final LiveConstant.MenuType QUIZ
public static final LiveConstant.MenuType TEXT
public static final LiveConstant.MenuType IFRAME
public static final LiveConstant.MenuType QA
public static final LiveConstant.MenuType BUY
public static final LiveConstant.MenuType INVITE
public static LiveConstant.MenuType[] values()
for (LiveConstant.MenuType c : LiveConstant.MenuType.values()) System.out.println(c);
public static LiveConstant.MenuType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getType()
public String getContent()
Copyright © 2025. All rights reserved.