public enum TIMElemType extends java.lang.Enum<TIMElemType>
枚举常量和说明 |
---|
Custom
自定义
|
Face
表情
|
File
文件
|
GroupSystem
群系统消息
|
GroupTips
群组事件通知
|
Image
图片
|
Invalid
非法值
|
Location
地理位置信息
|
ProfileTips
用户资料变更系统通知
|
SNSTips
关系链变更系统通知
|
Sound
语音
|
Text
文本
|
Video
微视频
|
限定符和类型 | 方法和说明 |
---|---|
int |
value() |
static TIMElemType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static TIMElemType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final TIMElemType Invalid
public static final TIMElemType Text
public static final TIMElemType Image
public static final TIMElemType Sound
public static final TIMElemType Custom
public static final TIMElemType File
public static final TIMElemType GroupTips
public static final TIMElemType Face
public static final TIMElemType Location
public static final TIMElemType GroupSystem
public static final TIMElemType SNSTips
public static final TIMElemType ProfileTips
public static final TIMElemType Video
public static TIMElemType[] values()
for (TIMElemType c : TIMElemType.values()) System.out.println(c);
public static TIMElemType valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public int value()