agora_chat_SDK
3.8.2
|
#import <AgoraContactManagerDelegate.h>
Instance Methods | |
(void) | - friendRequestDidApproveByUser: |
(void) | - friendRequestDidDeclineByUser: |
(void) | - friendshipDidRemoveByUser: |
(void) | - friendshipDidAddByUser: |
(void) | - friendRequestDidReceiveFromUser:message: |
(void) | - didReceiveAgreedFromUsername: |
(void) | - didReceiveDeclinedFromUsername: |
(void) | - didReceiveDeletedFromUsername: |
(void) | - didReceiveAddedFromUsername: |
(void) | - didReceiveFriendInvitationFromUsername:message: |
Contact related callbacks
|
optional |
Both user A and B will receive this callback after User B agreed user A's add-friend invitation
aUsername | Another user of user‘s friend relationship |
|
optional |
User A will receive this callback after user B accepted user A's friend request
aUsername | User B |
|
optional |
User A will receive this callback after user B declined user A's add-friend invitation
aUsername | User B |
|
optional |
User A will receive this callback after User B delete the friend relationship between user A
aUsername | User B |
|
optional |
User A will receive this callback after user B requested to add user A as a friend
aUsername | User B |
aMessage | Friend invitation message |
|
optional |
Delegate method will be invoked if a friend request is approved
User A will receive this callback after user B approved user A's friend request
aUsername | UserId who approves a friend's request |
|
optional |
Delegate method will be invoked if a friend request is declined.
User A will receive this callback after user B declined user A's friend request
aUsername | UserId who declined a friend's request |
|
optional |
Delegate method will be invoked when a user received a friend request
User A will receive this callback when received a friend request from user B
aUsername | Friend request sender |
aMessage | Friend request message |
|
optional |
Delegate method will be invoked id the user is added as a contact by another user.
Both user A and B will receive this callback after User B agreed user A's add-friend invitation
aUsername | Another user of user‘s friend relationship |
|
optional |
Delegate method will be invoked if user is removed as a contact by another user
User A and B both will receive this callback after User B unfriended user A
aUsername | User who unfriended the current user |