hyphenate_SDK3.0
3.5.0
hyphenatejavaIMSDK
|
Public Member Functions | |
void | onContactAdded (String username) |
void | onContactDeleted (String username) |
void | onContactInvited (String username, String reason) |
void | onFriendRequestAccepted (String username) |
void | onFriendRequestDeclined (String username) |
Contact updates listener. If your app is using Hyphenate's contact management, then you will need to use the following listeners for updates
void com.hyphenate.EMContactListener.onContactAdded | ( | String | username | ) |
callback the user is added as a contact by another user
username | new contact added |
void com.hyphenate.EMContactListener.onContactDeleted | ( | String | username | ) |
callback when user is removed as a contact by another user
username | contact removed |
void com.hyphenate.EMContactListener.onContactInvited | ( | String | username, |
String | reason | ||
) |
callback when user receives a friend request
username | User who initiated the friend request |
reason | User's friend request message. |
void com.hyphenate.EMContactListener.onFriendRequestAccepted | ( | String | username | ) |
callback when a friend request is approved
username |
void com.hyphenate.EMContactListener.onFriendRequestDeclined | ( | String | username | ) |
callback when a friend request is declined
username |