hyphenate_SDK3.0 3.7.6.3
hyphenate java IM SDK
Public Member Functions | Public Attributes | List of all members
com.hyphenate.EMMultiDeviceListener Interface Reference

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
 

Detailed Description

Multi-device listener, listener current user action callback on other devices.

Member Function Documentation

◆ onContactEvent()

void com.hyphenate.EMMultiDeviceListener.onContactEvent ( int  event,
String  target,
String  ext 
)

Multi device onContact event

Parameters
event
target
ext

◆ onGroupEvent()

void com.hyphenate.EMMultiDeviceListener.onGroupEvent ( int  event,
String  target,
List< String >  usernames 
)

Multi device onGroup event

Parameters
event
target
usernames

Member Data Documentation

◆ CONTACT_ACCEPT

int com.hyphenate.EMMultiDeviceListener.CONTACT_ACCEPT = 3

current user accepted contact invitation on other device

◆ CONTACT_ALLOW

int com.hyphenate.EMMultiDeviceListener.CONTACT_ALLOW = 6

current user removed some one from black list on other device

◆ CONTACT_BAN

int com.hyphenate.EMMultiDeviceListener.CONTACT_BAN = 5

current user added some one into black list on other device

◆ CONTACT_DECLINE

int com.hyphenate.EMMultiDeviceListener.CONTACT_DECLINE = 4

current user refused contact invitation on other device

◆ CONTACT_REMOVE

int com.hyphenate.EMMultiDeviceListener.CONTACT_REMOVE = 2

current user removed contact on other device

◆ GROUP_ADD_ADMIN

int com.hyphenate.EMMultiDeviceListener.GROUP_ADD_ADMIN = 26

current user added administrator on other device

◆ GROUP_ADD_MUTE

int com.hyphenate.EMMultiDeviceListener.GROUP_ADD_MUTE = 28

current user added some one into mute list on other device

◆ GROUP_ALLOW

int com.hyphenate.EMMultiDeviceListener.GROUP_ALLOW = 22

current user removed some one from black list on other device

◆ GROUP_APPLY

int com.hyphenate.EMMultiDeviceListener.GROUP_APPLY = 14

current user applyed to join the group on other device

◆ GROUP_APPLY_ACCEPT

int com.hyphenate.EMMultiDeviceListener.GROUP_APPLY_ACCEPT = 15

current user accepted group application on other device

◆ GROUP_APPLY_DECLINE

int com.hyphenate.EMMultiDeviceListener.GROUP_APPLY_DECLINE = 16

current user refused group application on other device

◆ GROUP_ASSIGN_OWNER

int com.hyphenate.EMMultiDeviceListener.GROUP_ASSIGN_OWNER = 25

current user assigned group owner to some one else on other device

◆ GROUP_BAN

int com.hyphenate.EMMultiDeviceListener.GROUP_BAN = 21

current user added some one into group black list on other device

◆ GROUP_BLOCK

int com.hyphenate.EMMultiDeviceListener.GROUP_BLOCK = 23

current user blocked the group message on other device

◆ GROUP_CREATE

int com.hyphenate.EMMultiDeviceListener.GROUP_CREATE = 10

current user created group on other device

◆ GROUP_DESTROY

int com.hyphenate.EMMultiDeviceListener.GROUP_DESTROY = 11

current user destroyed the group on other device

◆ GROUP_INVITE

int com.hyphenate.EMMultiDeviceListener.GROUP_INVITE = 17

current user invited some one to join the group on other device

◆ GROUP_INVITE_ACCEPT

int com.hyphenate.EMMultiDeviceListener.GROUP_INVITE_ACCEPT = 18

current user accepted the group invitation on other device

◆ GROUP_INVITE_DECLINE

int com.hyphenate.EMMultiDeviceListener.GROUP_INVITE_DECLINE = 19

current user declined the group invitation on other device

◆ GROUP_JOIN

int com.hyphenate.EMMultiDeviceListener.GROUP_JOIN = 12

current user joined the group on other device

◆ GROUP_KICK

int com.hyphenate.EMMultiDeviceListener.GROUP_KICK = 20

current user kicked some one from group on other device

◆ GROUP_LEAVE

int com.hyphenate.EMMultiDeviceListener.GROUP_LEAVE = 13

current user leaved the group on other device

◆ GROUP_REMOVE_ADMIN

int com.hyphenate.EMMultiDeviceListener.GROUP_REMOVE_ADMIN = 27

current user removed administrator on other device

◆ GROUP_REMOVE_MUTE

int com.hyphenate.EMMultiDeviceListener.GROUP_REMOVE_MUTE = 29

current user removed some one from mute list

◆ GROUP_UNBLOCK

int com.hyphenate.EMMultiDeviceListener.GROUP_UNBLOCK = 24

current user unblock the group message on other device


The documentation for this interface was generated from the following file: