EMMultiDevicesListener

EMMultiDevicesListener

new EMMultiDevicesListener()

Source:
EMMultiDevicesListener constructor.

Methods

onContactMultiDevicesEvent(callback) → {void}

Source:
callback function called when contact added.
Parameters:
Name Type Description
callback EMMultiDevicesListener~onContactMultiDevicesEventCallback 回调函数
Returns:
Type
void

onGroupMultiDevicesEvent(callback) → {void}

Source:
callback function called when contact added.
Parameters:
Name Type Description
callback EMMultiDevicesListener~onGroupMultiDevicesEventCallback
Returns:
Type
void

(inner) onContactMultiDevicesEventCallback(operation, target, ext) → {void}

Source:
Parameters:
Name Type Description
operation Number 操作类型
target String 目标机器
ext String 扩展信息
Returns:
Type
void

(inner) onGroupMultiDevicesEventCallback(operation, target) → {void}

Source:
Parameters:
Name Type Description
operation Number 操作类型
target String 目标机器
usernames. Array String username array.
Returns:
Type
void