toggle menu
NexconnChatUISDK
26.1.0
NexconnChatUISDK
switch theme
search in API
NexconnChatUISDK
/
ai.nexconn.chatui.usermanage.handler
/
FriendInfoHandler
Friend
Info
Handler
public
class
FriendInfoHandler
Friend info handler.
Note: Call
stop
to release resources when done.
Since
5.12.0
Members
Constructors
Friend
Info
Handler
Link copied to clipboard
public
void
FriendInfoHandler
(
)
Properties
KEY_APPLY_FRIEND
Link copied to clipboard
public
final
static
DataKey<Integer>
KEY_APPLY_FRIEND
KEY_CHECK_FRIEND
Link copied to clipboard
public
final
static
DataKey<FriendRelation>
KEY_CHECK_FRIEND
KEY_DELETE_FRIEND
Link copied to clipboard
public
final
static
DataKey<Boolean>
KEY_DELETE_FRIEND
KEY_GET_FRIEND
Link copied to clipboard
public
final
static
DataKey<FriendDetail>
KEY_GET_FRIEND
KEY_GET_FRIENDS
Link copied to clipboard
public
final
static
DataKey<List<FriendDetail>>
KEY_GET_FRIENDS
KEY_GET_FRIENDS_ONLINE_STATUS
Link copied to clipboard
public
final
static
DataKey<Map<String, UserOnlineStatus>>
KEY_GET_FRIENDS_ONLINE_STATUS
KEY_SEARCH_FRIENDS
Link copied to clipboard
public
final
static
DataKey<List<FriendDetail>>
KEY_SEARCH_FRIENDS
KEY_SEARCH_USER
Link copied to clipboard
public
final
static
DataKey<UserProfile>
KEY_SEARCH_USER
Functions
apply
Friend
Link copied to clipboard
public
void
applyFriend
(
String
userId
,
String
remark
,
OnDataChangeListener<Integer> listener
)
check
Friend
Link copied to clipboard
public
void
checkFriend
(
String
userId
)
delete
Friend
Link copied to clipboard
public
void
deleteFriend
(
String
userId
,
OnDataChangeListener<Boolean> listener
)
find
User
Link copied to clipboard
public
void
findUser
(
String
uniqueId
)
get
Friend
Info
Link copied to clipboard
public
void
getFriendInfo
(
String
userId
)
get
Friends
Link copied to clipboard
public
void
getFriends
(
)
get
User
Online
Status
Link copied to clipboard
public
void
getUserOnlineStatus
(
String
uid
)
public
void
getUserOnlineStatus
(
List
<
FriendDetail
>
friendDetails
)
search
Friends
Info
Link copied to clipboard
public
void
searchFriendsInfo
(
String
query
)
stop
Link copied to clipboard
public
void
stop
(
)