NIMSDK-AOS
9.19.0
basesdk
src
com
netease
nimlib
sdk
friend
constant
FriendSource.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.friend.constant;
2
3
import
com
.
netease
.
nimlib
.biz.constant.IFriendService;
4
5
/**
6
* 好友来源
7
*/
8
public
enum
FriendSource
{
9
DEFAULT
(IFriendService.Source.DEFAULT);
10
11
private
byte value;
12
13
FriendSource
(byte value) {
14
this.value = value;
15
}
16
17
public
static
FriendSource
friendSourceOfValue
(
int
status) {
18
byte s = (byte) status;
19
for
(
FriendSource
e : values()) {
20
if
(e.getValue() == s) {
21
return
e;
22
}
23
}
24
return
null;
25
}
26
27
public
byte
getValue
() {
28
return
value;
29
}
30
}
com.netease.nimlib.sdk.friend.constant.FriendSource.friendSourceOfValue
static FriendSource friendSourceOfValue(int status)
Definition:
FriendSource.java:17
com.netease
com
com.netease.nimlib.sdk.friend.constant.FriendSource.getValue
byte getValue()
Definition:
FriendSource.java:27
com.netease.nimlib.sdk.friend.constant.FriendSource.DEFAULT
DEFAULT
Definition:
FriendSource.java:9
com.netease.nimlib.sdk.friend.constant.FriendSource
好友来源
Definition:
FriendSource.java:8
com.netease.nimlib.sdk.friend.constant.FriendSource.FriendSource
FriendSource(byte value)
Definition:
FriendSource.java:13
com.netease.nimlib
生成于 2024年 十月 16日 星期三 10:25:05 , 为 NIMSDK-AOS使用
1.8.13