hyphenate_SDK3.0
3.0.1
hyphenatejavaIMSDK
|
Public Member Functions | |
void | onContactAdded (String username) |
void | onContactDeleted (String username) |
void | onContactInvited (String username, String reason) |
void | onContactAgreed (String username) |
void | onContactRefused (String username) |
Contact change listener. if your app will use hyphenate contact management, you have to use this listener by implementing it to receive any change of contact
void com.hyphenate.EMContactListener.onContactAdded | ( | String | username | ) |
this api will be called when there is any contact added
username | new added contact. |
void com.hyphenate.EMContactListener.onContactAgreed | ( | String | username | ) |
this api will be called when your application is accepted
username |
void com.hyphenate.EMContactListener.onContactDeleted | ( | String | username | ) |
this api will be called when some contacts of yours are deleted
username | 删除的联系人 |
void com.hyphenate.EMContactListener.onContactInvited | ( | String | username, |
String | reason | ||
) |
this api will be called when you receive a friend application
username | User who asked to be friend of current user. |
reason | User's invite literal message. |
void com.hyphenate.EMContactListener.onContactRefused | ( | String | username | ) |
this api will be called when your application is refused
username |