hyphenate_SDK3.0
3.6.0
hyphenatejavaIMSDK
|
Public Member Functions | |
void | onContactEvent (int event, String target, String ext) |
void | onGroupEvent (int event, String target, List< String > usernames) |
Public Attributes | |
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 |
current user accepted contact invitation on other device
int com.hyphenate.EMMultiDeviceListener.CONTACT_ALLOW = 6 |
current user removed some one from black list on other device
int com.hyphenate.EMMultiDeviceListener.CONTACT_BAN = 5 |
current user added some one into black list on other device
int com.hyphenate.EMMultiDeviceListener.CONTACT_DECLINE = 4 |
current user refused contact invitation on other device
int com.hyphenate.EMMultiDeviceListener.CONTACT_REMOVE = 2 |
current user removed contact on other device
int com.hyphenate.EMMultiDeviceListener.GROUP_ADD_ADMIN = 26 |
current user added administrator on other device
int com.hyphenate.EMMultiDeviceListener.GROUP_ADD_MUTE = 28 |
current user added some one into mute list on other device
int com.hyphenate.EMMultiDeviceListener.GROUP_ALLOW = 22 |
current user removed some one from black list on other device
int com.hyphenate.EMMultiDeviceListener.GROUP_APPLY = 14 |
current user applyed to join the group on other device
int com.hyphenate.EMMultiDeviceListener.GROUP_APPLY_ACCEPT = 15 |
current user accepted group application on other device
int com.hyphenate.EMMultiDeviceListener.GROUP_APPLY_DECLINE = 16 |
current user refused group application on other device
int com.hyphenate.EMMultiDeviceListener.GROUP_ASSIGN_OWNER = 25 |
current user assigned group owner to some one else on other device
int com.hyphenate.EMMultiDeviceListener.GROUP_BAN = 21 |
current user added some one into group black list on other device
int com.hyphenate.EMMultiDeviceListener.GROUP_BLOCK = 23 |
current user blocked the group message on other device
int com.hyphenate.EMMultiDeviceListener.GROUP_CREATE = 10 |
current user created group on other device
int com.hyphenate.EMMultiDeviceListener.GROUP_DESTROY = 11 |
current user destroyed the group on other device
int com.hyphenate.EMMultiDeviceListener.GROUP_INVITE = 17 |
current user invited some one to join the group on other device
int com.hyphenate.EMMultiDeviceListener.GROUP_INVITE_ACCEPT = 18 |
current user accepted the group invitation on other device
int com.hyphenate.EMMultiDeviceListener.GROUP_INVITE_DECLINE = 19 |
current user declined the group invitation on other device
int com.hyphenate.EMMultiDeviceListener.GROUP_JOIN = 12 |
current user joined the group on other device
int com.hyphenate.EMMultiDeviceListener.GROUP_KICK = 20 |
current user kicked some one from group on other device
int com.hyphenate.EMMultiDeviceListener.GROUP_LEAVE = 13 |
current user leaved the group on other device
int com.hyphenate.EMMultiDeviceListener.GROUP_REMOVE_ADMIN = 27 |
current user removed administrator on other device
int com.hyphenate.EMMultiDeviceListener.GROUP_REMOVE_MUTE = 29 |
current user removed some one from mute list
int com.hyphenate.EMMultiDeviceListener.GROUP_UNBLOCK = 24 |
current user unblock the group message on other device