Chat SDK for Unity and Windows v1.2.0
|
Public Member Functions | |
void | OnContactAdded (string userId) |
void | OnContactDeleted (string userId) |
void | OnContactInvited (string userId, string reason) |
void | OnFriendRequestAccepted (string userId) |
void | OnFriendRequestDeclined (string userId) |
The contact manager callback interface.
void AgoraChat.IContactManagerDelegate.OnContactAdded | ( | string | userId | ) |
Occurs when a user is added as a contact.
userId | The user ID of the new contact. |
void AgoraChat.IContactManagerDelegate.OnContactDeleted | ( | string | userId | ) |
Occurs when a user is removed from a contact list.
userId | The user ID of the removed contact. |
void AgoraChat.IContactManagerDelegate.OnContactInvited | ( | string | userId, |
string | reason | ||
) |
Occurs when a user receives a friend request.
userId | The ID of the user who initiates the friend request. |
reason | The invitation message. |
void AgoraChat.IContactManagerDelegate.OnFriendRequestAccepted | ( | string | userId | ) |
Occurs when a friend request is approved.
userId | The ID of the user who initiates the friend request. |
void AgoraChat.IContactManagerDelegate.OnFriendRequestDeclined | ( | string | userId | ) |
Occurs when a friend request is declined.
userId | The ID of the user who initiates the friend request. |