BMXGroupService Class Reference
Inherits from NSObject
Declared in floo_proxy.h
Overview
@interface Group Service
Properties
swigCMemOwn
@property (nonatomic) BOOL swigCMemOwn
swigCPtr
@property (nonatomic) void *swigCPtr
Instance Methods
acceptApplicationWithGroup:applicantId:
Accept the group application
- (BMXErrorCode)acceptApplicationWithGroup:(BMXGroup *)*group* applicantId:(long long)*applicantId*
Parameters
group
The group
applicantId
User ID applying to join the group
Return Value
Declared In
floo_proxy.h
acceptApplicationWithGroup:applicantId:completion:
Accept the group application
- (void)acceptApplicationWithGroup:(BMXGroup *)*group* applicantId:(long long)*applicantId* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
applicantId
User ID applying to join the group
Return Value
Declared In
floo_proxy.h
acceptInvitationWithGroup:inviter:
Accept the group invitation
- (BMXErrorCode)acceptInvitationWithGroup:(BMXGroup *)*group* inviter:(long long)*inviter*
Parameters
group
The group
inviter
User ID of the inviter
Return Value
Declared In
floo_proxy.h
acceptInvitationWithGroup:inviter:completion:
Accept the group invitation
- (void)acceptInvitationWithGroup:(BMXGroup *)*group* inviter:(long long)*inviter* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
inviter
User ID of the inviter
Return Value
Declared In
floo_proxy.h
addAdminsWithGroup:admins:message:
Add admins
- (BMXErrorCode)addAdminsWithGroup:(BMXGroup *)*group* admins:(ListOfLongLong *)*admins* message:(NSString *)*message*
Parameters
group
The group
admins
Admin ID list
message
Message to added users
Return Value
Declared In
floo_proxy.h
addAdminsWithGroup:admins:message:completion:
Add admins
- (void)addAdminsWithGroup:(BMXGroup *)*group* admins:(ListOfLongLong *)*admins* message:(NSString *)*message* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
admins
Admin ID list
message
Message to added users
Return Value
Declared In
floo_proxy.h
addDelegate:
Add a group events listener
- (void)addDelegate:(id<BMXGroupServiceProtocol>)*aDelegate*
Parameters
listener
The group events listener
Declared In
floo_proxy.h
addDelegate:delegateQueue:
- (void)addDelegate:(id<BMXGroupServiceProtocol>)*aDelegate* delegateQueue:(dispatch_queue_t)*aQueue*
addGroupListener:
Add a group events listener
- (void)addGroupListener:(id<BMXGroupServiceProtocol>)*listener*
Parameters
listener
The group events listener
Declared In
floo_proxy.h
addMembersWithGroup:members:message:
Add group members
- (BMXErrorCode)addMembersWithGroup:(BMXGroup *)*group* members:(ListOfLongLong *)*members* message:(NSString *)*message*
Parameters
group
The group
members
ID list of the added users
message
Message to added users
Return Value
Declared In
floo_proxy.h
addMembersWithGroup:members:message:completion:
Add group members
- (void)addMembersWithGroup:(BMXGroup *)*group* members:(ListOfLongLong *)*members* message:(NSString *)*message* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
members
ID list of the added users
message
Message to added users
Return Value
Declared In
floo_proxy.h
banGroupWithGroup:duration:
Ban all group members
- (BMXErrorCode)banGroupWithGroup:(BMXGroup *)*group* duration:(long long)*duration*
Parameters
group
The group
duration
Ban duration (min)
Return Value
Declared In
floo_proxy.h
banGroupWithGroup:duration:completion:
Ban all group members
- (void)banGroupWithGroup:(BMXGroup *)*group* duration:(long long)*duration* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
duration
Ban duration (min)
Return Value
Declared In
floo_proxy.h
banMembersWithGroup:members:duration:
- (BMXErrorCode)banMembersWithGroup:(BMXGroup *)*group* members:(ListOfLongLong *)*members* duration:(long long)*duration*
banMembersWithGroup:members:duration:reason:
Ban group members
- (BMXErrorCode)banMembersWithGroup:(BMXGroup *)*group* members:(ListOfLongLong *)*members* duration:(long long)*duration* reason:(NSString *)*reason*
Parameters
group
The group
members
ID list of the banned users
duration
Ban duration (min)
reason
Ban reason
Return Value
Declared In
floo_proxy.h
banMembersWithGroup:members:duration:reason:completion:
Ban group members
- (void)banMembersWithGroup:(BMXGroup *)*group* members:(ListOfLongLong *)*members* duration:(long long)*duration* reason:(NSString *)*reason* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
members
ID list of the banned users
duration
Ban duration (min)
reason
Ban reason
Return Value
Declared In
floo_proxy.h
blockMembersWithGroup:members:
Block group members
- (BMXErrorCode)blockMembersWithGroup:(BMXGroup *)*group* members:(ListOfLongLong *)*members*
Parameters
group
The group
members
ID list of the blocked users
Return Value
Declared In
floo_proxy.h
blockMembersWithGroup:members:completion:
Block group members
- (void)blockMembersWithGroup:(BMXGroup *)*group* members:(ListOfLongLong *)*members* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
members
ID list of the blocked users
Return Value
Declared In
floo_proxy.h
cancelDownloadSharedFileWithGroup:sharedFile:
Cancel downloading the group shared file
- (BMXErrorCode)cancelDownloadSharedFileWithGroup:(BMXGroup *)*group* sharedFile:(BMXGroupSharedFile *)*sharedFile*
Parameters
group
The group
sharedFile
The group shared file to be downloaded
Return Value
Declared In
floo_proxy.h
cancelDownloadSharedFileWithGroup:sharedFile:completion:
Cancel downloading the group shared file
- (void)cancelDownloadSharedFileWithGroup:(BMXGroup *)*group* sharedFile:(BMXGroupSharedFile *)*sharedFile* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
sharedFile
The group shared file to be downloaded
Return Value
Declared In
floo_proxy.h
cancelUploadSharedFileWithGroup:filePath:
Cancel uploading the group shared file
- (BMXErrorCode)cancelUploadSharedFileWithGroup:(BMXGroup *)*group* filePath:(NSString *)*filePath*
Parameters
group
The group
filePath
Local file path
Return Value
Declared In
floo_proxy.h
cancelUploadSharedFileWithGroup:filePath:completion:
Cancel uploading the group shared file
- (void)cancelUploadSharedFileWithGroup:(BMXGroup *)*group* filePath:(NSString *)*filePath* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
filePath
Local file path
Return Value
Declared In
floo_proxy.h
changeSharedFileNameWithGroup:sharedFile:name:
Change the group shared file name
- (BMXErrorCode)changeSharedFileNameWithGroup:(BMXGroup *)*group* sharedFile:(BMXGroupSharedFile *)*sharedFile* name:(NSString *)*name*
Parameters
group
The group
sharedFile
进行更改的群共享文件
name
修改的群共享文件名称
Return Value
Declared In
floo_proxy.h
changeSharedFileNameWithGroup:sharedFile:name:completion:
Change the group shared file name
- (void)changeSharedFileNameWithGroup:(BMXGroup *)*group* sharedFile:(BMXGroupSharedFile *)*sharedFile* name:(NSString *)*name* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
sharedFile
The shared file
name
New name of the shared file
Return Value
Declared In
floo_proxy.h
createWithOptions:completion:
Create a group
- (void)createWithOptions:(BMXGroupServiceCreateGroupOptions *)*options* completion:(void ( ^ ) ( BMXGroup *res , BMXError *aError ))*resBlock*
Parameters
options
Options of group creation
group
Group as result
Return Value
Declared In
floo_proxy.h
createWithOptions:group:
Create a group
- (BMXErrorCode)createWithOptions:(BMXGroupServiceCreateGroupOptions *)*options* group:(BMXGroup *)*group*
Parameters
options
Options of group creation
group
Group as result
Return Value
Declared In
floo_proxy.h
dealloc
- (void)dealloc
declineApplicationWithGroup:applicantId:
- (BMXErrorCode)declineApplicationWithGroup:(BMXGroup *)*group* applicantId:(long long)*applicantId*
declineApplicationWithGroup:applicantId:reason:
Decline group application
- (BMXErrorCode)declineApplicationWithGroup:(BMXGroup *)*group* applicantId:(long long)*applicantId* reason:(NSString *)*reason*
Parameters
group
The group
applicantId
User ID of group application
reason
Decline reason
Return Value
Declared In
floo_proxy.h
declineApplicationWithGroup:applicantId:reason:completion:
Decline group application
- (void)declineApplicationWithGroup:(BMXGroup *)*group* applicantId:(long long)*applicantId* reason:(NSString *)*reason* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
applicantId
User ID of group application
reason
Decline reason
Return Value
Declared In
floo_proxy.h
declineInvitationWithGroup:inviter:
- (BMXErrorCode)declineInvitationWithGroup:(BMXGroup *)*group* inviter:(long long)*inviter*
declineInvitationWithGroup:inviter:reason:
Decline group invitation
- (BMXErrorCode)declineInvitationWithGroup:(BMXGroup *)*group* inviter:(long long)*inviter* reason:(NSString *)*reason*
Parameters
group
The group
inviter
The inviter user ID
reason
Decline reason
Return Value
Declared In
floo_proxy.h
declineInvitationWithGroup:inviter:reason:completion:
Decline group invitation
- (void)declineInvitationWithGroup:(BMXGroup *)*group* inviter:(long long)*inviter* reason:(NSString *)*reason* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
inviter
The inviter user ID
reason
Decline reason
Return Value
Declared In
floo_proxy.h
deleteAnnouncementWithGroup:announcementId:
Delete a group announcement
- (BMXErrorCode)deleteAnnouncementWithGroup:(BMXGroup *)*group* announcementId:(long long)*announcementId*
Parameters
group
The group
announcementId
Group announcement ID
Return Value
Declared In
floo_proxy.h
deleteAnnouncementWithGroup:announcementId:completion:
Delete a group announcement
- (void)deleteAnnouncementWithGroup:(BMXGroup *)*group* announcementId:(long long)*announcementId* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
announcementId
Group announcement ID
Return Value
Declared In
floo_proxy.h
destroyWithGroup:
Destroy a group
- (BMXErrorCode)destroyWithGroup:(BMXGroup *)*group*
Parameters
group
The group
Return Value
Declared In
floo_proxy.h
destroyWithGroup:completion:
Destroy a group
- (void)destroyWithGroup:(BMXGroup *)*group* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
Return Value
Declared In
floo_proxy.h
downloadAvatarWithGroup:thumbnail:callback:
Downlad the group avatar
- (BMXErrorCode)downloadAvatarWithGroup:(BMXGroup *)*group* thumbnail:(BOOL)*thumbnail* callback:(void ( ^ ) ( int progress ))*callback*
Parameters
group
The group
thumbnail
Is the file to be downloaded a thumbnail
callback
Return Value
Declared In
floo_proxy.h
downloadAvatarWithGroup:thumbnail:callback:completion:
Downlad the group avatar
- (void)downloadAvatarWithGroup:(BMXGroup *)*group* thumbnail:(BOOL)*thumbnail* callback:(void ( ^ ) ( int progress ))*callback* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
thumbnail
Is the file to be downloaded a thumbnail
callback
Return Value
Declared In
floo_proxy.h
downloadSharedFileWithGroup:sharedFile:arg3:
Download a group shared file
- (BMXErrorCode)downloadSharedFileWithGroup:(BMXGroup *)*group* sharedFile:(BMXGroupSharedFile *)*sharedFile* arg3:(void ( ^ ) ( int progress ))*arg3*
Parameters
group
The group
sharedFile
The shared file
Return Value
Declared In
floo_proxy.h
downloadSharedFileWithGroup:sharedFile:arg3:completion:
Download a group shared file
- (void)downloadSharedFileWithGroup:(BMXGroup *)*group* sharedFile:(BMXGroupSharedFile *)*sharedFile* arg3:(void ( ^ ) ( int progress ))*arg3* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
sharedFile
The shared file
Return Value
Declared In
floo_proxy.h
editAnnouncementWithGroup:title:content:
Add a new group anncoucement
- (BMXErrorCode)editAnnouncementWithGroup:(BMXGroup *)*group* title:(NSString *)*title* content:(NSString *)*content*
Parameters
group
The group
title
The title of group annoucement
content
The content of group annoucement
Return Value
Declared In
floo_proxy.h
editAnnouncementWithGroup:title:content:completion:
Add a new group anncoucement
- (void)editAnnouncementWithGroup:(BMXGroup *)*group* title:(NSString *)*title* content:(NSString *)*content* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
title
The title of group annoucement
content
The content of group annoucement
Return Value
Declared In
floo_proxy.h
fetchGroupByIdWithGroupId:forceRefresh:completion:
Get group by ID
- (void)fetchGroupByIdWithGroupId:(long long)*groupId* forceRefresh:(BOOL)*forceRefresh* completion:(void ( ^ ) ( BMXGroup *res , BMXError *aError ))*resBlock*
Parameters
groupId
The group ID
forceRefresh
from server
Return Value
Declared In
floo_proxy.h
fetchGroupByIdWithGroupId:group:forceRefresh:
Get group by ID
- (BMXErrorCode)fetchGroupByIdWithGroupId:(long long)*groupId* group:(BMXGroup *)*group* forceRefresh:(BOOL)*forceRefresh*
Parameters
groupId
The group ID
forceRefresh
from server
Return Value
Declared In
floo_proxy.h
fetchGroupsByIdListWithGroupIdList:forceRefresh:completion:
Get groups by ID list
- (void)fetchGroupsByIdListWithGroupIdList:(ListOfLongLong *)*groupIdList* forceRefresh:(BOOL)*forceRefresh* completion:(void ( ^ ) ( BMXGroupList *res , BMXError *aError ))*resBlock*
Parameters
groupIdList
Group ID list
forceRefresh
From server
Return Value
Declared In
floo_proxy.h
fetchGroupsByIdListWithGroupIdList:list:forceRefresh:
Get groups by ID list
- (BMXErrorCode)fetchGroupsByIdListWithGroupIdList:(ListOfLongLong *)*groupIdList* list:(BMXGroupList *)*list* forceRefresh:(BOOL)*forceRefresh*
Parameters
groupIdList
Group ID list
forceRefresh
From server
Return Value
Declared In
floo_proxy.h
fetchLocalGroupsByName:completion:
Get groups by name from local db
- (void)fetchLocalGroupsByName:(NSString *)*name* completion:(void ( ^ ) ( BMXGroupList *res , BMXError *aError ))*resBlock*
Parameters
name
Group name
Return Value
Declared In
floo_proxy.h
fetchLocalGroupsByNameWithList:name:
Get groups by name from local db
- (BMXErrorCode)fetchLocalGroupsByNameWithList:(BMXGroupList *)*list* name:(NSString *)*name*
Parameters
name
Group name
Return Value
Declared In
floo_proxy.h
get:completion:
Get my group list
- (void)get:(BOOL)*forceRefresh* completion:(void ( ^ ) ( BMXGroupList *res , BMXError *aError ))*resBlock*
Parameters
forceRefresh
From server
Return Value
Declared In
floo_proxy.h
get:forceRefresh:
Get my group list
- (BMXErrorCode)get:(BMXGroupList *)*list* forceRefresh:(BOOL)*forceRefresh*
Parameters
forceRefresh
From server
Return Value
Declared In
floo_proxy.h
getAdmins:forceRefresh:completion:
Get admins of a group
- (void)getAdmins:(BMXGroup *)*group* forceRefresh:(BOOL)*forceRefresh* completion:(void ( ^ ) ( BMXGroupMemberList *res , BMXError *aError ))*resBlock*
Parameters
group
The group
forceRefresh
From server
Return Value
Declared In
floo_proxy.h
getAdmins:list:forceRefresh:
Get admins of a group
- (BMXErrorCode)getAdmins:(BMXGroup *)*group* list:(BMXGroupMemberList *)*list* forceRefresh:(BOOL)*forceRefresh*
Parameters
group
The group
forceRefresh
From server
Return Value
Declared In
floo_proxy.h
getAnnouncementList:forceRefresh:completion:
Get announcement list
- (void)getAnnouncementList:(BMXGroup *)*group* forceRefresh:(BOOL)*forceRefresh* completion:(void ( ^ ) ( BMXGroupAnnouncementList *res , BMXError *aError ))*resBlock*
Parameters
group
The group
forceRefresh
From server
Return Value
Declared In
floo_proxy.h
getAnnouncementList:list:forceRefresh:
Get announcement list
- (BMXErrorCode)getAnnouncementList:(BMXGroup *)*group* list:(BMXGroupAnnouncementList *)*list* forceRefresh:(BOOL)*forceRefresh*
Parameters
group
The group
forceRefresh
From server
Return Value
Declared In
floo_proxy.h
getApplicationList:cursor:pageSize:completion:
Get group application list in pages
- (void)getApplicationList:(BMXGroupList *)*list* cursor:(NSString *)*cursor* pageSize:(int)*pageSize* completion:(void ( ^ ) ( BMXGroupApplicationPage *res , BMXError *aError ))*resBlock*
Parameters
list
Group list
cursor
Start cursor
pageSize
Page size
Return Value
Declared In
floo_proxy.h
getApplicationList:result:
- (BMXErrorCode)getApplicationList:(BMXGroupList *)*list* result:(BMXGroupApplicationPage *)*result*
getApplicationList:result:cursor:
- (BMXErrorCode)getApplicationList:(BMXGroupList *)*list* result:(BMXGroupApplicationPage *)*result* cursor:(NSString *)*cursor*
getApplicationList:result:cursor:pageSize:
Get group application list in pages
- (BMXErrorCode)getApplicationList:(BMXGroupList *)*list* result:(BMXGroupApplicationPage *)*result* cursor:(NSString *)*cursor* pageSize:(int)*pageSize*
Parameters
list
Group list
cursor
Starting cursor
pageSize
Page size
Return Value
Declared In
floo_proxy.h
getBannedMembers:completion:
Get group members banned
- (void)getBannedMembers:(BMXGroup *)*group* completion:(void ( ^ ) ( BMXGroupBannedMemberList *res , BMXError *aError ))*resBlock*
Parameters
group
The group
Return Value
Declared In
floo_proxy.h
getBannedMembers:cursor:pageSize:completion:
Get group members banned in pages
- (void)getBannedMembers:(BMXGroup *)*group* cursor:(NSString *)*cursor* pageSize:(int)*pageSize* completion:(void ( ^ ) ( BMXGroupBannedMemberResultPage *res , BMXError *aError ))*resBlock*
Parameters
group
The group
cursor
Starting cursor
pageSize
Page size
Return Value
Declared In
floo_proxy.h
getBannedMembers:list:
Get group members banned
- (BMXErrorCode)getBannedMembers:(BMXGroup *)*group* list:(BMXGroupBannedMemberList *)*list*
Parameters
group
The group
Return Value
Declared In
floo_proxy.h
getBannedMembers:result:
- (BMXErrorCode)getBannedMembers:(BMXGroup *)*group* result:(BMXGroupBannedMemberResultPage *)*result*
getBannedMembers:result:cursor:
- (BMXErrorCode)getBannedMembers:(BMXGroup *)*group* result:(BMXGroupBannedMemberResultPage *)*result* cursor:(NSString *)*cursor*
getBannedMembers:result:cursor:pageSize:
Get group members banned in pages
- (BMXErrorCode)getBannedMembers:(BMXGroup *)*group* result:(BMXGroupBannedMemberResultPage *)*result* cursor:(NSString *)*cursor* pageSize:(int)*pageSize*
Parameters
group
The group
cursor
Starting cursor
pageSize
Page size
Return Value
Declared In
floo_proxy.h
getBlockList:cursor:pageSize:completion:
Get group members blocked in pages
- (void)getBlockList:(BMXGroup *)*group* cursor:(NSString *)*cursor* pageSize:(int)*pageSize* completion:(void ( ^ ) ( BMXGroupMemberResultPage *res , BMXError *aError ))*resBlock*
Parameters
group
The group
cursor
Starting cursor
pageSize
Page size
Return Value
Declared In
floo_proxy.h
getBlockList:forceRefresh:completion:
Get group members blocked
- (void)getBlockList:(BMXGroup *)*group* forceRefresh:(BOOL)*forceRefresh* completion:(void ( ^ ) ( BMXGroupMemberList *res , BMXError *aError ))*resBlock*
Parameters
group
The group
forceRefresh
From server
Return Value
Declared In
floo_proxy.h
getBlockList:list:forceRefresh:
Get group members blocked
- (BMXErrorCode)getBlockList:(BMXGroup *)*group* list:(BMXGroupMemberList *)*list* forceRefresh:(BOOL)*forceRefresh*
Parameters
group
The group
forceRefresh
From server
Return Value
Declared In
floo_proxy.h
getBlockList:result:
- (BMXErrorCode)getBlockList:(BMXGroup *)*group* result:(BMXGroupMemberResultPage *)*result*
getBlockList:result:cursor:
- (BMXErrorCode)getBlockList:(BMXGroup *)*group* result:(BMXGroupMemberResultPage *)*result* cursor:(NSString *)*cursor*
getBlockList:result:cursor:pageSize:
Get group members blocked in pages
- (BMXErrorCode)getBlockList:(BMXGroup *)*group* result:(BMXGroupMemberResultPage *)*result* cursor:(NSString *)*cursor* pageSize:(int)*pageSize*
Parameters
group
The group
cursor
Starting cursor
pageSize
Page size
Return Value
Declared In
floo_proxy.h
getInfo:
Get group detail information from server
- (BMXErrorCode)getInfo:(BMXGroup *)*group*
Parameters
group
The group
Return Value
Declared In
floo_proxy.h
getInfo:completion:
Get group detail information from server
- (void)getInfo:(BMXGroup *)*group* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
Return Value
Declared In
floo_proxy.h
getInvitationList:
- (BMXErrorCode)getInvitationList:(BMXGroupInvitationPage *)*result*
getInvitationList:cursor:
- (BMXErrorCode)getInvitationList:(BMXGroupInvitationPage *)*result* cursor:(NSString *)*cursor*
getInvitationList:cursor:pageSize:
Get group invitation list in pages
- (BMXErrorCode)getInvitationList:(BMXGroupInvitationPage *)*result* cursor:(NSString *)*cursor* pageSize:(int)*pageSize*
Parameters
cursor
Starting cursor
pageSize
Page size
Return Value
Declared In
floo_proxy.h
getInvitationList:pageSize:completion:
Get group invitation list in pages
- (void)getInvitationList:(NSString *)*cursor* pageSize:(int)*pageSize* completion:(void ( ^ ) ( BMXGroupInvitationPage *res , BMXError *aError ))*resBlock*
Parameters
cursor
Starting cursor
pageSize
Page size
Return Value
Declared In
floo_proxy.h
getLatestAnnouncement:announcement:forceRefresh:
Get the latest announcement
- (BMXErrorCode)getLatestAnnouncement:(BMXGroup *)*group* announcement:(BMXGroupAnnouncement *)*announcement* forceRefresh:(BOOL)*forceRefresh*
Parameters
group
The group
forceRefresh
From server
Return Value
Declared In
floo_proxy.h
getLatestAnnouncement:announcement:forceRefresh:completion:
Get the latest announcement
- (void)getLatestAnnouncement:(BMXGroup *)*group* announcement:(BMXGroupAnnouncement *)*announcement* forceRefresh:(BOOL)*forceRefresh* completion:(void ( ^ ) ( BMXGroupAnnouncement *res , BMXError *aError ))*resBlock*
Parameters
group
The group
forceRefresh
From server
Return Value
Declared In
floo_proxy.h
getMembers:cursor:pageSize:completion:
Get group members in pages
- (void)getMembers:(BMXGroup *)*group* cursor:(NSString *)*cursor* pageSize:(int)*pageSize* completion:(void ( ^ ) ( BMXGroupMemberResultPage *res , BMXError *aError ))*resBlock*
Parameters
group
The group
cursor
Starting cursor
pageSize
Page size
Return Value
Declared In
floo_proxy.h
getMembers:forceRefresh:completion:
Get group members
- (void)getMembers:(BMXGroup *)*group* forceRefresh:(BOOL)*forceRefresh* completion:(void ( ^ ) ( BMXGroupMemberList *res , BMXError *aError ))*resBlock*
Parameters
group
The group
forceRefresh
From server
Return Value
Declared In
floo_proxy.h
getMembers:list:forceRefresh:
Get group members
- (BMXErrorCode)getMembers:(BMXGroup *)*group* list:(BMXGroupMemberList *)*list* forceRefresh:(BOOL)*forceRefresh*
Parameters
group
The group
forceRefresh
From server
Return Value
Declared In
floo_proxy.h
getMembers:result:
- (BMXErrorCode)getMembers:(BMXGroup *)*group* result:(BMXGroupMemberResultPage *)*result*
getMembers:result:cursor:
- (BMXErrorCode)getMembers:(BMXGroup *)*group* result:(BMXGroupMemberResultPage *)*result* cursor:(NSString *)*cursor*
getMembers:result:cursor:pageSize:
Get group members in pages
- (BMXErrorCode)getMembers:(BMXGroup *)*group* result:(BMXGroupMemberResultPage *)*result* cursor:(NSString *)*cursor* pageSize:(int)*pageSize*
Parameters
group
The group
cursor
Starting cursor
pageSize
Page size
Return Value
Declared In
floo_proxy.h
getMembersNickname:members:completion:
Get group member details by member ID list
- (void)getMembersNickname:(BMXGroup *)*group* members:(ListOfLongLong *)*members* completion:(void ( ^ ) ( BMXGroupMemberList *res , BMXError *aError ))*resBlock*
Parameters
group
The group
members
Group members ID list
Return Value
Declared In
floo_proxy.h
getMembersNickname:members:list:
Get group member details by member ID list
- (BMXErrorCode)getMembersNickname:(BMXGroup *)*group* members:(ListOfLongLong *)*members* list:(BMXGroupMemberList *)*list*
Parameters
group
The group
members
Group members ID list
Return Value
Declared In
floo_proxy.h
getSharedFilesList:forceRefresh:completion:
Get shared file list of group
- (void)getSharedFilesList:(BMXGroup *)*group* forceRefresh:(BOOL)*forceRefresh* completion:(void ( ^ ) ( BMXGroupSharedFileList *res , BMXError *aError ))*resBlock*
Parameters
group
The group
forceRefresh
From server
Return Value
Declared In
floo_proxy.h
getSharedFilesList:list:forceRefresh:
Get shared file list of group
- (BMXErrorCode)getSharedFilesList:(BMXGroup *)*group* list:(BMXGroupSharedFileList *)*list* forceRefresh:(BOOL)*forceRefresh*
Parameters
group
The group
forceRefresh
From server
Return Value
Declared In
floo_proxy.h
initWithCptr:swigOwnCObject:
- (id)initWithCptr:(void *)*cptr* swigOwnCObject:(BOOL)*ownCObject*
joinWithGroup:message:
Apply to join a group
- (BMXErrorCode)joinWithGroup:(BMXGroup *)*group* message:(NSString *)*message*
Parameters
group
The group
message
Message sent to admins
Return Value
Declared In
floo_proxy.h
joinWithGroup:message:completion:
Apply to join a group
- (void)joinWithGroup:(BMXGroup *)*group* message:(NSString *)*message* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
message
Message sent to admins
Return Value
Declared In
floo_proxy.h
leaveWithGroup:
Leave a group
- (BMXErrorCode)leaveWithGroup:(BMXGroup *)*group*
Parameters
group
The group
Return Value
Declared In
floo_proxy.h
leaveWithGroup:completion:
Leave a group
- (void)leaveWithGroup:(BMXGroup *)*group* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
Return Value
Declared In
floo_proxy.h
muteMessageWithGroup:mode:
Mute message notifications from the group
- (BMXErrorCode)muteMessageWithGroup:(BMXGroup *)*group* mode:(BMXGroup_MsgMuteMode)*mode*
Parameters
group
The group
mode
Mute mode
Return Value
Declared In
floo_proxy.h
muteMessageWithGroup:mode:completion:
Mute message notifications from the group
- (void)muteMessageWithGroup:(BMXGroup *)*group* mode:(BMXGroup_MsgMuteMode)*mode* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
mode
Mute mode
Return Value
Declared In
floo_proxy.h
removeAdminsWithGroup:admins:reason:
Remove admins from group
- (BMXErrorCode)removeAdminsWithGroup:(BMXGroup *)*group* admins:(ListOfLongLong *)*admins* reason:(NSString *)*reason*
Parameters
group
The group
admins
Admin ID list
reason
Reason for removal
Return Value
Declared In
floo_proxy.h
removeAdminsWithGroup:admins:reason:completion:
Remove admins from group
- (void)removeAdminsWithGroup:(BMXGroup *)*group* admins:(ListOfLongLong *)*admins* reason:(NSString *)*reason* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
admins
Admin ID list
reason
Reason for removal
Return Value
Declared In
floo_proxy.h
removeDelegate:
Remove group service listener
- (void)removeDelegate:(id<BMXGroupServiceProtocol>)*aDelegate*
Parameters
listener
The listener
Declared In
floo_proxy.h
removeGroupListener:
Remove group service listener
- (void)removeGroupListener:(id<BMXGroupServiceProtocol>)*listener*
Parameters
listener
The listener
Declared In
floo_proxy.h
removeMembersWithGroup:members:reason:
Remove members from group
- (BMXErrorCode)removeMembersWithGroup:(BMXGroup *)*group* members:(ListOfLongLong *)*members* reason:(NSString *)*reason*
Parameters
group
The group
members
Group members ID list
reason
Reason for removal
Return Value
Declared In
floo_proxy.h
removeMembersWithGroup:members:reason:completion:
Remove members from group
- (void)removeMembersWithGroup:(BMXGroup *)*group* members:(ListOfLongLong *)*members* reason:(NSString *)*reason* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
members
Group members ID list
reason
Reason for removal
Return Value
Declared In
floo_proxy.h
removeSharedFileWithGroup:sharedFile:
Remove the shared files from the group
- (BMXErrorCode)removeSharedFileWithGroup:(BMXGroup *)*group* sharedFile:(BMXGroupSharedFile *)*sharedFile*
Parameters
group
The group
sharedFile
The shared file
Return Value
Declared In
floo_proxy.h
removeSharedFileWithGroup:sharedFile:completion:
Remove the shared files from the group
- (void)removeSharedFileWithGroup:(BMXGroup *)*group* sharedFile:(BMXGroupSharedFile *)*sharedFile* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
sharedFile
The shared file
Return Value
Declared In
floo_proxy.h
searchWithGroupId:forceRefresh:completion:
- (void)searchWithGroupId:(long long)*groupId* forceRefresh:(BOOL)*forceRefresh* completion:(void ( ^ ) ( BMXGroup *res , BMXError *aError ))*resBlock*
searchWithGroupId:group:forceRefresh:
- (BMXErrorCode)searchWithGroupId:(long long)*groupId* group:(BMXGroup *)*group* forceRefresh:(BOOL)*forceRefresh*
searchWithGroupIdList:list:forceRefresh:
- (BMXErrorCode)searchWithGroupIdList:(ListOfLongLong *)*groupIdList* list:(BMXGroupList *)*list* forceRefresh:(BOOL)*forceRefresh*
searchWithList:forceRefresh:
- (BMXErrorCode)searchWithList:(BMXGroupList *)*list* forceRefresh:(BOOL)*forceRefresh*
searchWithList:name:
- (BMXErrorCode)searchWithList:(BMXGroupList *)*list* name:(NSString *)*name*
setAllowMemberModify:enable:
Set whether to allow group members to set group information
- (BMXErrorCode)setAllowMemberModify:(BMXGroup *)*group* enable:(BOOL)*enable*
Parameters
group
The group
Return Value
Declared In
floo_proxy.h
setAllowMemberModify:enable:completion:
Set whether to allow group members to set group information
- (void)setAllowMemberModify:(BMXGroup *)*group* enable:(BOOL)*enable* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
Return Value
Declared In
floo_proxy.h
setAvatar:avatarPath:arg3:
Set group avatar
- (BMXErrorCode)setAvatar:(BMXGroup *)*group* avatarPath:(NSString *)*avatarPath* arg3:(void ( ^ ) ( int progress ))*arg3*
Parameters
group
The group
avatarPath
The local file path of avatar
Return Value
Declared In
floo_proxy.h
setAvatar:avatarPath:arg3:completion:
Set group avatar
- (void)setAvatar:(BMXGroup *)*group* avatarPath:(NSString *)*avatarPath* arg3:(void ( ^ ) ( int progress ))*arg3* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
avatarPath
The local file path of avatar
Return Value
Declared In
floo_proxy.h
setDescription:description:
Set group description
- (BMXErrorCode)setDescription:(BMXGroup *)*group* description:(NSString *)*description*
Parameters
group
The group
Return Value
Declared In
floo_proxy.h
setDescription:description:completion:
Set group description
- (void)setDescription:(BMXGroup *)*group* description:(NSString *)*description* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
Return Value
Declared In
floo_proxy.h
setEnableReadAck:enable:
Set whether to enable the read ACK function of the group
- (BMXErrorCode)setEnableReadAck:(BMXGroup *)*group* enable:(BOOL)*enable*
Parameters
group
The group
Return Value
Declared In
floo_proxy.h
setEnableReadAck:enable:completion:
Set whether to enable the read ACK function of the group
- (void)setEnableReadAck:(BMXGroup *)*group* enable:(BOOL)*enable* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
Return Value
Declared In
floo_proxy.h
setExtension:extension:
Set group extension information
- (BMXErrorCode)setExtension:(BMXGroup *)*group* extension:(NSString *)*extension*
Parameters
group
The group
extension
Extension information of the group
Return Value
Declared In
floo_proxy.h
setExtension:extension:completion:
Set group extension information
- (void)setExtension:(BMXGroup *)*group* extension:(NSString *)*extension* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
extension
Extension information of the group
Return Value
Declared In
floo_proxy.h
setHistoryVisible:enable:
Set whether group members can see group history messages
- (BMXErrorCode)setHistoryVisible:(BMXGroup *)*group* enable:(BOOL)*enable*
Parameters
group
The group
Return Value
Declared In
floo_proxy.h
setHistoryVisible:enable:completion:
Set whether group members can see group history messages
- (void)setHistoryVisible:(BMXGroup *)*group* enable:(BOOL)*enable* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
Return Value
Declared In
floo_proxy.h
setInviteMode:mode:
Set invitation mode
- (BMXErrorCode)setInviteMode:(BMXGroup *)*group* mode:(BMXGroup_InviteMode)*mode*
Parameters
group
The group
mode
Invitation mode
Return Value
Declared In
floo_proxy.h
setInviteMode:mode:completion:
Set invitation mode
- (void)setInviteMode:(BMXGroup *)*group* mode:(BMXGroup_InviteMode)*mode* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
mode
Invitation mode
Return Value
Declared In
floo_proxy.h
setJoinAuthMode:mode:
Set authorization mode
- (BMXErrorCode)setJoinAuthMode:(BMXGroup *)*group* mode:(BMXGroup_JoinAuthMode)*mode*
Parameters
group
The group
mode
Authorization mode
Return Value
Declared In
floo_proxy.h
setJoinAuthMode:mode:completion:
Set invitation mode
- (void)setJoinAuthMode:(BMXGroup *)*group* mode:(BMXGroup_JoinAuthMode)*mode* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
mode
Authorization mode
Return Value
Declared In
floo_proxy.h
setMsgPushMode:mode:
Set message notification mode
- (BMXErrorCode)setMsgPushMode:(BMXGroup *)*group* mode:(BMXGroup_MsgPushMode)*mode*
Parameters
group
The group
mode
Notification mode
Return Value
Declared In
floo_proxy.h
setMsgPushMode:mode:completion:
Set message notification mode
- (void)setMsgPushMode:(BMXGroup *)*group* mode:(BMXGroup_MsgPushMode)*mode* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
mode
Notification mode
Return Value
Declared In
floo_proxy.h
setMyNickname:nickname:
Set my nickname in the group
- (BMXErrorCode)setMyNickname:(BMXGroup *)*group* nickname:(NSString *)*nickname*
Parameters
group
The group
nickname
My nickname
Return Value
Declared In
floo_proxy.h
setMyNickname:nickname:completion:
Set my nickname in the group
- (void)setMyNickname:(BMXGroup *)*group* nickname:(NSString *)*nickname* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
nickname
My nickname
Return Value
Declared In
floo_proxy.h
setName:name:
Set group name
- (BMXErrorCode)setName:(BMXGroup *)*group* name:(NSString *)*name*
Parameters
group
The group
name
Group name
Return Value
Declared In
floo_proxy.h
setName:name:completion:
Set group name
- (void)setName:(BMXGroup *)*group* name:(NSString *)*name* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
name
Group name
Return Value
Declared In
floo_proxy.h
transferOwnerWithGroup:newOwnerId:
Transfer the owership of the group
- (BMXErrorCode)transferOwnerWithGroup:(BMXGroup *)*group* newOwnerId:(long long)*newOwnerId*
Parameters
group
The group
newOwnerId
New owner User ID
Return Value
Declared In
floo_proxy.h
transferOwnerWithGroup:newOwnerId:completion:
Transfer the owership of the group
- (void)transferOwnerWithGroup:(BMXGroup *)*group* newOwnerId:(long long)*newOwnerId* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
newOwnerId
New owner User ID
Return Value
Declared In
floo_proxy.h
unbanGroupWithGroup:
Unban all members in the group
- (BMXErrorCode)unbanGroupWithGroup:(BMXGroup *)*group*
Parameters
group
The group
Return Value
Declared In
floo_proxy.h
unbanGroupWithGroup:completion:
Unban all members in the group
- (void)unbanGroupWithGroup:(BMXGroup *)*group* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
Return Value
Declared In
floo_proxy.h
unbanMembersWithGroup:members:
Unban members in the group
- (BMXErrorCode)unbanMembersWithGroup:(BMXGroup *)*group* members:(ListOfLongLong *)*members*
Parameters
group
The group
members
Group members ID list
Return Value
Declared In
floo_proxy.h
unbanMembersWithGroup:members:completion:
Unban members in the group
- (void)unbanMembersWithGroup:(BMXGroup *)*group* members:(ListOfLongLong *)*members* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
members
Group members ID list
Return Value
Declared In
floo_proxy.h
unblockMembersWithGroup:members:
Unblock members in the group
- (BMXErrorCode)unblockMembersWithGroup:(BMXGroup *)*group* members:(ListOfLongLong *)*members*
Parameters
group
The group
members
Group members ID list
Return Value
Declared In
floo_proxy.h
unblockMembersWithGroup:members:completion:
Unblock members in the group
- (void)unblockMembersWithGroup:(BMXGroup *)*group* members:(ListOfLongLong *)*members* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
members
Group members ID list
Return Value
Declared In
floo_proxy.h
uploadSharedFileWithGroup:filePath:displayName:extensionName:arg5:
Upload shared file to group
- (BMXErrorCode)uploadSharedFileWithGroup:(BMXGroup *)*group* filePath:(NSString *)*filePath* displayName:(NSString *)*displayName* extensionName:(NSString *)*extensionName* arg5:(void ( ^ ) ( int progress ))*arg5*
Parameters
group
The group
filePath
Local path of the shared file
displayName
Display name
extensionName
Extension name of the shared file
Return Value
Declared In
floo_proxy.h
uploadSharedFileWithGroup:filePath:displayName:extensionName:arg5:completion:
Upload shared file to group
- (void)uploadSharedFileWithGroup:(BMXGroup *)*group* filePath:(NSString *)*filePath* displayName:(NSString *)*displayName* extensionName:(NSString *)*extensionName* arg5:(void ( ^ ) ( int progress ))*arg5* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*
Parameters
group
The group
filePath
Local path of the shared file
displayName
Display name
extensionName
Extension name of the shared file
Return Value
Declared In
floo_proxy.h
Example: