public interface EMContactListener
限定符和类型 | 方法和说明 |
---|---|
void |
onContactAdded(java.util.List<java.lang.String> usernameList)
增加联系人时回调此方法
this api will be called when there is any contact added
|
void |
onContactAgreed(java.lang.String username)
好友请求被同意
this api will be called when your application is accepted
|
void |
onContactDeleted(java.util.List<java.lang.String> usernameList)
被删除时回调此方法
this api will be called when some contacts of yours are deleted
|
void |
onContactInvited(java.lang.String username,
java.lang.String reason)
收到好友邀请
this api will be called when you receive a friend application
|
void |
onContactRefused(java.lang.String username)
好友请求被拒绝
this api will be called when your application is refused
|
void onContactAdded(java.util.List<java.lang.String> usernameList)
usernameList
- 增加的联系人listvoid onContactDeleted(java.util.List<java.lang.String> usernameList)
usernameList
- 删除的联系人listvoid onContactInvited(java.lang.String username, java.lang.String reason)
username
- reason
- void onContactAgreed(java.lang.String username)
username
- void onContactRefused(java.lang.String username)
username
- Copyright © 2014 EaseMob.com. All Rights Reserved.