NIMSDK-AOS
10.5.0
basesdk
src
com
netease
nimlib
sdk
msg
constant
MsgDirectionEnum.java
浏览该文件的文档.
1
2
package
com.netease.nimlib.sdk.msg.constant;
3
7
public
enum
MsgDirectionEnum
{
11
Out
(0),
15
In
(1);
16
17
private
int
value;
18
19
MsgDirectionEnum
(
int
value) {
20
this.value = value;
21
}
22
23
public
int
getValue
() {
24
return
value;
25
}
26
27
public
static
MsgDirectionEnum
directionOfValue
(
int
value) {
28
for
(
MsgDirectionEnum
direction : values()){
29
if
(direction.getValue() == value) {
30
return
direction;
31
}
32
}
33
return
Out;
34
}
35
}
com.netease.nimlib.sdk.msg.constant.MsgDirectionEnum.directionOfValue
static MsgDirectionEnum directionOfValue(int value)
Definition:
MsgDirectionEnum.java:27
com.netease.nimlib.sdk.msg.constant.MsgDirectionEnum.Out
Out
发出去的消息
Definition:
MsgDirectionEnum.java:11
com.netease.nimlib.sdk.msg.constant.MsgDirectionEnum.In
In
接收到的消息
Definition:
MsgDirectionEnum.java:15
com.netease.nimlib.sdk.msg.constant.MsgDirectionEnum.getValue
int getValue()
Definition:
MsgDirectionEnum.java:23
com.netease.nimlib.sdk.msg.constant.MsgDirectionEnum.MsgDirectionEnum
MsgDirectionEnum(int value)
Definition:
MsgDirectionEnum.java:19
com.netease.nimlib.sdk.msg.constant.MsgDirectionEnum
消息方向枚举
Definition:
MsgDirectionEnum.java:7
生成于 2024年 十月 15日 星期二 18:40:25 , 为 NIMSDK-AOS使用
1.8.13