IMSDK
IM features a comprehensive suite of solutions including global access, one-to-one chat, group chat, message push, profile and relationship chain hosting, and account authentication. It also provides complete app access and backend management APIs.
V2TIMFriendCheckResult

Public Member Functions

String getUserID ()
 
int getResultCode ()
 
String getResultInfo ()
 
int getResultType ()
 

Static Public Attributes

static final int V2TIM_FRIEND_RELATION_TYPE_NONE = 0
 
static final int V2TIM_FRIEND_RELATION_TYPE_IN_MY_FRIEND_LIST = 1
 
static final int V2TIM_FRIEND_RELATION_TYPE_IN_OTHER_FRIEND_LIST = 2
 
static final int V2TIM_FRIEND_RELATION_TYPE_BOTH_WAY = 3
 

Member Function Documentation

◆ getUserID()

String getUserID ( )
inline

Get the ID of a friend

Returns
Friend's ID

◆ getResultCode()

int getResultCode ( )
inline

Get the return code

Returns
Return code

◆ getResultInfo()

String getResultInfo ( )
inline

Get the return result description

Returns
Result description

◆ getResultType()

int getResultType ( )
inline

Field Documentation

◆ V2TIM_FRIEND_RELATION_TYPE_NONE

final int V2TIM_FRIEND_RELATION_TYPE_NONE = 0
static

Not a friend

◆ V2TIM_FRIEND_RELATION_TYPE_IN_MY_FRIEND_LIST

final int V2TIM_FRIEND_RELATION_TYPE_IN_MY_FRIEND_LIST = 1
static

The peer party is on my friend list

◆ V2TIM_FRIEND_RELATION_TYPE_IN_OTHER_FRIEND_LIST

final int V2TIM_FRIEND_RELATION_TYPE_IN_OTHER_FRIEND_LIST = 2
static

I am on the peer party's friend list

◆ V2TIM_FRIEND_RELATION_TYPE_BOTH_WAY

final int V2TIM_FRIEND_RELATION_TYPE_BOTH_WAY = 3
static

Two-way friend