NIMSDK-AOS
10.5.0
basesdk
src
com
netease
nimlib
sdk
msg
model
GetMessageDirectionEnum.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.msg.model;
2
3
import
com
.
netease
.
nimlib
.
sdk
.
msg
.
constant
.
SessionTypeEnum
;
4
5
public
enum
GetMessageDirectionEnum
{
9
FORWARD
(0),
10
14
BACKWARD
(1),
15
;
16
17
private
int
value;
18
19
GetMessageDirectionEnum
(
int
value) {
20
this.value = value;
21
}
22
23
public
int
getValue
() {
24
return
value;
25
}
26
27
public
static
GetMessageDirectionEnum
typeOfValue
(
int
value) {
28
for
(
GetMessageDirectionEnum
e : values()) {
29
if
(e.getValue() == value) {
30
return
e;
31
}
32
}
33
return
FORWARD;
34
}
35
}
com.netease.nimlib.sdk
Definition:
RequestCallback.java:1
com.netease
com.netease.nimlib.sdk.msg.constant.SessionTypeEnum
会话类型
Definition:
SessionTypeEnum.java:8
com
com.netease.nimlib.sdk.msg.constant
Definition:
SessionTypeEnum.java:1
com.netease.nimlib.sdk.msg
Definition:
MessageBuilder.java:1
com.netease.nimlib.sdk.msg.model.GetMessageDirectionEnum.FORWARD
FORWARD
从时间戳大到时间戳小
Definition:
GetMessageDirectionEnum.java:9
com.netease.nimlib.sdk.msg.model.GetMessageDirectionEnum.typeOfValue
static GetMessageDirectionEnum typeOfValue(int value)
Definition:
GetMessageDirectionEnum.java:27
com.netease.nimlib.sdk.msg.model.GetMessageDirectionEnum.GetMessageDirectionEnum
GetMessageDirectionEnum(int value)
Definition:
GetMessageDirectionEnum.java:19
com.netease.nimlib.sdk.msg.model.GetMessageDirectionEnum
Definition:
GetMessageDirectionEnum.java:5
com.netease.nimlib.sdk.msg.model.GetMessageDirectionEnum.BACKWARD
BACKWARD
从时间戳小到时间戳大
Definition:
GetMessageDirectionEnum.java:14
com.netease.nimlib.sdk.msg.model.GetMessageDirectionEnum.getValue
int getValue()
Definition:
GetMessageDirectionEnum.java:23
com.netease.nimlib
生成于 2024年 十月 15日 星期二 18:40:25 , 为 NIMSDK-AOS使用
1.8.13