hyphenate_SDK3.0
3.6.0
hyphenatejavaIMSDK
|
Public 成员函数 | |
void | onContactEvent (int event, String target, String ext) |
void | onGroupEvent (int event, String target, List< String > usernames) |
Public 属性 | |
int | CONTACT_REMOVE = 2 |
int | CONTACT_ACCEPT = 3 |
int | CONTACT_DECLINE = 4 |
int | CONTACT_BAN = 5 |
int | CONTACT_ALLOW = 6 |
int | GROUP_CREATE = 10 |
int | GROUP_DESTROY = 11 |
int | GROUP_JOIN = 12 |
int | GROUP_LEAVE = 13 |
int | GROUP_APPLY = 14 |
int | GROUP_APPLY_ACCEPT = 15 |
int | GROUP_APPLY_DECLINE = 16 |
int | GROUP_INVITE = 17 |
int | GROUP_INVITE_ACCEPT = 18 |
int | GROUP_INVITE_DECLINE = 19 |
int | GROUP_KICK = 20 |
int | GROUP_BAN = 21 |
int | GROUP_ALLOW = 22 |
int | GROUP_BLOCK = 23 |
int | GROUP_UNBLOCK = 24 |
int | GROUP_ASSIGN_OWNER = 25 |
int | GROUP_ADD_ADMIN = 26 |
int | GROUP_REMOVE_ADMIN = 27 |
int | GROUP_ADD_MUTE = 28 |
int | GROUP_REMOVE_MUTE = 29 |
Multi-device listener, listener current user action callback on other devices.
void com.hyphenate.EMMultiDeviceListener.onContactEvent | ( | int | event, |
String | target, | ||
String | ext | ||
) |
Multi device onContact event
event | |
target | |
ext |
void com.hyphenate.EMMultiDeviceListener.onGroupEvent | ( | int | event, |
String | target, | ||
List< String > | usernames | ||
) |
Multi device onGroup event
event | |
target | |
usernames |
int com.hyphenate.EMMultiDeviceListener.CONTACT_ACCEPT = 3 |
好友请求已经在其他机子上被同意
int com.hyphenate.EMMultiDeviceListener.CONTACT_ALLOW = 6 |
好友在其他设备被移出黑名单
int com.hyphenate.EMMultiDeviceListener.CONTACT_BAN = 5 |
当前用户在其他设备加某人进入黑名单
int com.hyphenate.EMMultiDeviceListener.CONTACT_DECLINE = 4 |
好友请求已经在其他机子上被拒绝
int com.hyphenate.EMMultiDeviceListener.CONTACT_REMOVE = 2 |
在其他设备上发起好友请求
~ current user invited contact to be friend on other device
好友已经在其他机子上被移除
int com.hyphenate.EMMultiDeviceListener.GROUP_ADD_ADMIN = 26 |
添加管理员
int com.hyphenate.EMMultiDeviceListener.GROUP_ADD_MUTE = 28 |
禁言用户
int com.hyphenate.EMMultiDeviceListener.GROUP_ALLOW = 22 |
移除群组黑名单
int com.hyphenate.EMMultiDeviceListener.GROUP_APPLY = 14 |
发起群组申请
int com.hyphenate.EMMultiDeviceListener.GROUP_APPLY_ACCEPT = 15 |
同意群组申请
int com.hyphenate.EMMultiDeviceListener.GROUP_APPLY_DECLINE = 16 |
拒绝群组申请
int com.hyphenate.EMMultiDeviceListener.GROUP_ASSIGN_OWNER = 25 |
转移群主
int com.hyphenate.EMMultiDeviceListener.GROUP_BAN = 21 |
加入群组黑名单
int com.hyphenate.EMMultiDeviceListener.GROUP_BLOCK = 23 |
屏蔽群组
int com.hyphenate.EMMultiDeviceListener.GROUP_CREATE = 10 |
创建了群组
int com.hyphenate.EMMultiDeviceListener.GROUP_DESTROY = 11 |
销毁了群组
int com.hyphenate.EMMultiDeviceListener.GROUP_INVITE = 17 |
邀请群成员
int com.hyphenate.EMMultiDeviceListener.GROUP_INVITE_ACCEPT = 18 |
同意群组邀请
int com.hyphenate.EMMultiDeviceListener.GROUP_INVITE_DECLINE = 19 |
拒绝群组邀请
int com.hyphenate.EMMultiDeviceListener.GROUP_JOIN = 12 |
已经加入群组
int com.hyphenate.EMMultiDeviceListener.GROUP_KICK = 20 |
将某人踢出群
int com.hyphenate.EMMultiDeviceListener.GROUP_LEAVE = 13 |
已经离开群组
int com.hyphenate.EMMultiDeviceListener.GROUP_REMOVE_ADMIN = 27 |
移除管理员
int com.hyphenate.EMMultiDeviceListener.GROUP_REMOVE_MUTE = 29 |
移除禁言
int com.hyphenate.EMMultiDeviceListener.GROUP_UNBLOCK = 24 |
取消群组屏蔽