EMMucSetting

EMMucSetting

new EMMucSetting(style, maxUserCount, inviteNeedConfirm, extension)

Source:
EMMucSetting constructor.
Parameters:
Name Type Description
style Number 群组类型
maxUserCount Number 最大人数
inviteNeedConfirm Bool 邀请进群是否需要确认
extension String 扩展信息

Methods

extension() → {String}

Source:
Get muc max user count.
Returns:
返回扩展信息
Type
String

inviteNeedConfirm() → {Bool}

Source:
Get muc max user count.
Returns:
返回邀请成员是否需要确认
Type
Bool

maxUserCount() → {Number}

Source:
Get muc max user count.
Returns:
返回群组最大人数
Type
Number

setExtension(extension) → {void}

Source:
Set muc max user count.
Parameters:
Name Type Description
extension String 扩展信息
Returns:
Type
void

setInviteNeedConfirm(inviteNeedConfirm) → {void}

Source:
Set muc max user count.
Parameters:
Name Type Description
inviteNeedConfirm Bool 邀请成员是否需要确认
Returns:
Type
void

setMaxUserCount(maxUserCount) → {void}

Source:
Set muc max user count.
Parameters:
Name Type Description
maxUserCount Number 群组最大人数
Returns:
Type
void

setStyle(style) → {void}

Source:
Set muc setting style.
Parameters:
Name Type Description
style Number 群组类型
Returns:
Type
void

style() → {Number}

Source:
Get muc setting style.
Returns:
返回群组类型
Type
Number