◆ getUserID()
◆ getNickname()
Get the nickname of a friend
- Returns
- Nickname
◆ getFaceUrl()
Get the profile photo of a friend
- Returns
◆ getAddTime()
Get UTC timestamp of adding friend
- Returns
- Time
◆ getAddSource()
Get the source
- Returns
- Source
◆ getAddWording()
Get friend remarks
- Returns
- Remarks
◆ getType()
Get the request type
- V2TIM_FRIEND_APPLICATION_COME_IN: friend request received by me
- V2TIM_FRIEND_APPLICATION_SEND_OUT: friend request sent by me
- V2TIM_FRIEND_APPLICATION_BOTH: friend requests received and sent by me
- Returns
- Pending request type
◆ toString()
◆ V2TIM_FRIEND_APPLICATION_COME_IN
final int V2TIM_FRIEND_APPLICATION_COME_IN = 1 |
|
static |
Friend request received by me
◆ V2TIM_FRIEND_APPLICATION_SEND_OUT
final int V2TIM_FRIEND_APPLICATION_SEND_OUT = 2 |
|
static |
Friend request sent by me
◆ V2TIM_FRIEND_APPLICATION_BOTH
final int V2TIM_FRIEND_APPLICATION_BOTH = 3 |
|
static |
Friend requests received and sent by me. Valid only during pulling
◆ V2TIM_FRIEND_ACCEPT_AGREE
final int V2TIM_FRIEND_ACCEPT_AGREE = 0 |
|
static |
Accept the friend request (build a one-way friend relationship)
◆ V2TIM_FRIEND_ACCEPT_AGREE_AND_ADD
final int V2TIM_FRIEND_ACCEPT_AGREE_AND_ADD = 1 |
|
static |
Accept the friend request and add the peer party as a friend (build a two-way friend relationship)