JMSGGroupDelegate Protocol Reference

Conforms to NSObject
Declared in JMSGGroupDelegate.h

Overview

Group 相关变更通知

– onGroupInfoChanged:

群组信息 (GroupInfo) 信息通知

- (void)onGroupInfoChanged:(JMSGGroup *)group

Parameters

group

变更后的群组对象

Discussion

如果想要获取通知, 需要先注册回调. 具体请参考 JMessageDelegate 里的说明.

Declared In

JMSGGroupDelegate.h

– onReceiveApplyJoinGroupApprovalEvent:

监听申请入群通知

- (void)onReceiveApplyJoinGroupApprovalEvent:(JMSGApplyJoinGroupEvent *)event

Parameters

event

申请入群事件

Availability

3.4.0

Discussion

只有群主和管理员能收到此事件;申请入群事件相关参数请查看 JMSGApplyJoinGroupEvent 类,在群主审批此事件时需要传递事件的相关参数

Declared In

JMSGGroupDelegate.h

– onReceiveGroupAdminRejectApplicationEvent:

监听管理员拒绝入群申请通知

- (void)onReceiveGroupAdminRejectApplicationEvent:(JMSGGroupAdminRejectApplicationEvent *)event

Parameters

event

拒绝入群申请事件

Availability

3.4.0

Discussion

只有申请方和被申请方会收到此事件;拒绝的相关描述和原因请查看 JMSGGroupAdminRejectApplicationEvent

Declared In

JMSGGroupDelegate.h

– onReceiveGroupAdminApprovalEvent:

监听管理员审批通知

- (void)onReceiveGroupAdminApprovalEvent:(JMSGGroupAdminApprovalEvent *)event

Parameters

event

管理员审批事件

Availability

3.5.0

Discussion

只有管理员才会收到该事件;当管理员同意或拒绝了某个入群申请事件时,其他管理员就会收到该事件,相关属性请查看 JMSGGroupAdminApprovalEvent

Declared In

JMSGGroupDelegate.h