public enum EMNotificationType extends Enum<EMNotificationType>
限定符和类型 | 字段和说明 |
---|---|
String |
notificationType |
限定符和类型 | 方法和说明 |
---|---|
String |
getNotificationType() |
void |
setNotificationType(String notificationType) |
static EMNotificationType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static EMNotificationType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final EMNotificationType DEFAULT
public static final EMNotificationType ALL
public static final EMNotificationType AT
public static final EMNotificationType NONE
public String notificationType
public static EMNotificationType[] values()
for (EMNotificationType c : EMNotificationType.values()) System.out.println(c);
public static EMNotificationType valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值public String getNotificationType()
public void setNotificationType(String notificationType)
Copyright © 2024. All rights reserved.