BMXGroupServiceProtocol Protocol Reference

Conforms to NSObject
Declared in BMXGroupServiceProtocol.h

Instance Methods

groupAdminsAddedGroup:members:

添加了新管理员

- (void)groupAdminsAddedGroup:(BMXGroup *)*group* members:(NSArray<NSNumber*> *)*members*

Discussion

添加了新管理员

Declared In

  • BMXGroupServiceProtocol.h

Example:

groupAdminsRemovedFromGroup:members:reason:

移除了管理员

- (void)groupAdminsRemovedFromGroup:(BMXGroup *)*group* members:(NSArray<NSNumber*> *)*members* reason:(NSString *)*reason*

Discussion

移除了管理员

Declared In

  • BMXGroupServiceProtocol.h

Example:

groupAnnouncementUpdate:announcement:

收到群公告

- (void)groupAnnouncementUpdate:(BMXGroup *)*group* announcement:(BMXGroupAnnounment *)*announcement*

Discussion

收到群公告

Declared In

  • BMXGroupServiceProtocol.h

Example:

groupApplicationAccepted:approver:

入群申请被接受

- (void)groupApplicationAccepted:(BMXGroup *)*group* approver:(NSInteger)*approver*

Discussion

入群申请被接受

Declared In

  • BMXGroupServiceProtocol.h

Example:

- (void)groupApplicationAccepted:(BMXGroup *)group
                        approver:(NSInteger)approver {
    MAXLog(@"入群申请被接受");

}

groupApplicationDeclined:approver:reason:

入群申请被拒绝

- (void)groupApplicationDeclined:(BMXGroup *)*group* approver:(NSInteger)*approver* reason:(NSString *)*reason*

Discussion

入群申请被拒绝

Declared In

  • BMXGroupServiceProtocol.h

Example:

- (void)groupApplicationDeclined:(BMXGroup *)group
                        approver:(NSInteger)approver
                          reason:(NSString *)reason {
    MAXLog(@"入群申请被拒绝");
}

groupDidCreated:

多设备同步创建群组

- (void)groupDidCreated:(BMXGroup *)*group*

Discussion

多设备同步创建群组

Declared In

  • BMXGroupServiceProtocol.h

Example:

- (void)groupDidCreated:(BMXGroup *)group {
    MAXLog(@"多设备同步创建群组");

}

groupDidRecieveApplied:applicantId:message:

收到入群申请

- (void)groupDidRecieveApplied:(BMXGroup *)*group* applicantId:(NSInteger)*applicantId* message:(NSString *)*message*

Discussion

收到入群申请

Declared In

  • BMXGroupServiceProtocol.h

Example:

- (void)groupDidRecieveApplied:(BMXGroup *)group
                   applicantId:(NSInteger)applicantId
                       message:(NSString *)message {
    
     MAXLog(@"收到入群申请");
}

groupDidRecieveInviter:groupId:message:

收到入群邀请

- (void)groupDidRecieveInviter:(NSInteger)*inviter* groupId:(NSInteger)*groupId* message:(NSString *)*message*

Discussion

收到入群邀请

Declared In

  • BMXGroupServiceProtocol.h

Example:

- (void)groupDidRecieveInviter:(NSInteger)inviter groupId:(NSInteger)groupId message:(NSString *)message {
    MAXLog(@"收到入群邀请");
}

groupInfoDidUpdate:updateInfoType:

群组信息变更

- (void)groupInfoDidUpdate:(BMXGroup *)*group* updateInfoType:(BMXGroupUpdateInfoType)*type*

Discussion

群组信息变更

Declared In

  • BMXGroupServiceProtocol.h

Example:

- (void)groupInfoDidUpdate:(BMXGroup *)group
            updateInfoType:(BMXGroupUpdateInfoType)type{
    MAXLog(@"群信息更新了");
}

groupInvitationAccepted:inviteeId:

入群邀请被接受

- (void)groupInvitationAccepted:(BMXGroup *)*group* inviteeId:(NSInteger)*inviteeId*

Discussion

入群邀请被接受

Declared In

  • BMXGroupServiceProtocol.h

Example:

- (void)groupInvitationAccepted:(BMXGroup *)group inviteeId:(NSInteger)inviteeId {
    MAXLog(@"入群邀请被接受");

}

groupInvitationDeclined:inviteeId:reason:

入群申请被拒绝

- (void)groupInvitationDeclined:(BMXGroup *)*group* inviteeId:(NSInteger)*inviteeId* reason:(NSString *)*reason*

Discussion

入群申请被拒绝

Declared In

  • BMXGroupServiceProtocol.h

Example:

- (void)groupInvitationDeclined:(BMXGroup *)group
                      inviteeId:(NSInteger)inviteeId
                         reason:(NSString *)reason {
    MAXLog(@"入群申请被拒绝");

    
}

groupLeft:reason:

退出了某群

- (void)groupLeft:(BMXGroup *)*group* reason:(NSString *)*reason*

Discussion

退出了某群

Declared In

  • BMXGroupServiceProtocol.h

Example:

- (void)groupLeft:(BMXGroup *)group reason:(NSString *)reason {
    MAXLog(@"您退出了群:%@,原因:%@", group.name, reason);
    [HQCustomToast showToastWithInfo:[NSString stringWithFormat:NSLocalizedString(@"You_have_quit_the_group", @"您退出了群:%@,原因:%@"), group.name, reason]];
}

groupMemberDidChangeNickName:memberId:nickName:

群成员更改群内昵称

- (void)groupMemberDidChangeNickName:(BMXGroup *)*group* memberId:(long long)*memberId* nickName:(NSString *)*nickName*

Discussion

群成员更改群内昵称

Declared In

  • BMXGroupServiceProtocol.h

Example:

groupMemberJoined:memberId:inviter:

加入新成员

- (void)groupMemberJoined:(BMXGroup *)*group* memberId:(NSInteger)*memberId* inviter:(NSInteger)*inviter*

Discussion

加入新成员

Declared In

  • BMXGroupServiceProtocol.h

Example:

- (void)groupMemberJoined:(BMXGroup *)group
                 memberId:(NSInteger)memberId
                  inviter:(NSInteger)inviter{
    MAXLog(@"群:%@有成员加入:%ld", group.name, (long)memberId);
    [HQCustomToast showToastWithInfo:[NSString stringWithFormat:NSLocalizedString(@"Group_member_joined", @"群:%@有成员加入:%ld"), group.name, (long)memberId]];
}

groupMemberLeft:memberId:reason:

群成员退出

- (void)groupMemberLeft:(BMXGroup *)*group* memberId:(NSInteger)*memberId* reason:(NSString *)*reason*

Discussion

群成员退出

Declared In

  • BMXGroupServiceProtocol.h

Example:

- (void)groupMemberLeft:(BMXGroup *)group
               memberId:(NSInteger)memberId
                 reason:(NSString *)reason{
    MAXLog(@"群:%@有成员退出:%ld", group.name, (long)memberId);
    [HQCustomToast showToastWithInfo:[NSString stringWithFormat:NSLocalizedString(@"Group_member_quited", @"群:%@有成员退出:%ld"), group.name, (long)memberId]];
}

groupMembersMutedGroup:members:duration:

群成员被禁言

- (void)groupMembersMutedGroup:(BMXGroup *)*group* members:(NSArray<NSNumber*> *)*members* duration:(NSInteger)*duration*

Discussion

群成员被禁言

Declared In

  • BMXGroupServiceProtocol.h

Example:

groupMembersUnMutedGroup:Unmuted:

群成员被解除禁言

- (void)groupMembersUnMutedGroup:(BMXGroup *)*group* Unmuted:(NSArray<NSNumber*> *)*members*

Discussion

群成员被解除禁言

Declared In

  • BMXGroupServiceProtocol.h

Example:

groupOwnerAssigned:

成为群主

- (void)groupOwnerAssigned:(BMXGroup *)*group*

Discussion

成为群主

Declared In

  • BMXGroupServiceProtocol.h

Example:

- (void)groupOwnerAssigned:(BMXGroup *)group {
    MAXLog(@"群主是我了");

}

groupShareFileDidUpdated:sharedFile:

共享文件更新文件名

- (void)groupShareFileDidUpdated:(BMXGroup *)*group* sharedFile:(BMXGroupSharedFile *)*sharedFile*

Discussion

共享文件更新文件名

Declared In

  • BMXGroupServiceProtocol.h

Example:

groupSharedFileDeleted:sharedFile:

删除了共享文件

- (void)groupSharedFileDeleted:(BMXGroup *)*group* sharedFile:(BMXGroupSharedFile *)*sharedFile*

Discussion

删除了共享文件

Declared In

  • BMXGroupServiceProtocol.h

Example:

groupSharedFileUploaded:sharedFile:

收到共享文件

- (void)groupSharedFileUploaded:(BMXGroup *)*group* sharedFile:(BMXGroupSharedFile *)*sharedFile*

Discussion

收到共享文件

Declared In

  • BMXGroupServiceProtocol.h

Example:

© 2019-2022 美信拓扑 | 官网 该文件修订时间: 2022-09-21 11:43:07

results matching ""

    No results matching ""