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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

addDelegate:

Add a group events listener

- (void)addDelegate:(id<BMXGroupServiceProtocol>)*aDelegate*

Parameters

listener
The group events listener

Declared In

  • floo_proxy.h

Example:

addDelegate:delegateQueue:

- (void)addDelegate:(id<BMXGroupServiceProtocol>)*aDelegate* delegateQueue:(dispatch_queue_t)*aQueue*

Example:

addGroupListener:

Add a group events listener

- (void)addGroupListener:(id<BMXGroupServiceProtocol>)*listener*

Parameters

listener
The group events listener

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

banGroupWithGroup:duration:

Ban all group members

- (BMXErrorCode)banGroupWithGroup:(BMXGroup *)*group* duration:(long long)*duration*

Parameters

group
The group

duration
Ban duration (min)

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

banMembersWithGroup:members:duration:

- (BMXErrorCode)banMembersWithGroup:(BMXGroup *)*group* members:(ListOfLongLong *)*members* duration:(long long)*duration*

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

createWithOptions:group:

Create a group

- (BMXErrorCode)createWithOptions:(BMXGroupServiceCreateGroupOptions *)*options* group:(BMXGroup *)*group*

Parameters

options
Options of group creation

group
Group as result

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

dealloc

- (void)dealloc

Example:

declineApplicationWithGroup:applicantId:

- (BMXErrorCode)declineApplicationWithGroup:(BMXGroup *)*group* applicantId:(long long)*applicantId*

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

declineInvitationWithGroup:inviter:

- (BMXErrorCode)declineInvitationWithGroup:(BMXGroup *)*group* inviter:(long long)*inviter*

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

deleteAnnouncementWithGroup:announcementId:

Delete a group announcement

- (BMXErrorCode)deleteAnnouncementWithGroup:(BMXGroup *)*group* announcementId:(long long)*announcementId*

Parameters

group
The group

announcementId
Group announcement ID

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

destroyWithGroup:

Destroy a group

- (BMXErrorCode)destroyWithGroup:(BMXGroup *)*group*

Parameters

group
The group

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

destroyWithGroup:completion:

Destroy a group

- (void)destroyWithGroup:(BMXGroup *)*group* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*

Parameters

group
The group

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

fetchLocalGroupsByNameWithList:name:

Get groups by name from local db

- (BMXErrorCode)fetchLocalGroupsByNameWithList:(BMXGroupList *)*list* name:(NSString *)*name*

Parameters

name
Group name

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

get:completion:

Get my group list

- (void)get:(BOOL)*forceRefresh* completion:(void ( ^ ) ( BMXGroupList *res , BMXError *aError ))*resBlock*

Parameters

forceRefresh
From server

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

get:forceRefresh:

Get my group list

- (BMXErrorCode)get:(BMXGroupList *)*list* forceRefresh:(BOOL)*forceRefresh*

Parameters

forceRefresh
From server

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

getApplicationList:result:

- (BMXErrorCode)getApplicationList:(BMXGroupList *)*list* result:(BMXGroupApplicationPage *)*result*

Example:

getApplicationList:result:cursor:

- (BMXErrorCode)getApplicationList:(BMXGroupList *)*list* result:(BMXGroupApplicationPage *)*result* cursor:(NSString *)*cursor*

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

getBannedMembers:completion:

Get group members banned

- (void)getBannedMembers:(BMXGroup *)*group* completion:(void ( ^ ) ( BMXGroupBannedMemberList *res , BMXError *aError ))*resBlock*

Parameters

group
The group

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

getBannedMembers:list:

Get group members banned

- (BMXErrorCode)getBannedMembers:(BMXGroup *)*group* list:(BMXGroupBannedMemberList *)*list*

Parameters

group
The group

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

getBannedMembers:result:

- (BMXErrorCode)getBannedMembers:(BMXGroup *)*group* result:(BMXGroupBannedMemberResultPage *)*result*

Example:

getBannedMembers:result:cursor:

- (BMXErrorCode)getBannedMembers:(BMXGroup *)*group* result:(BMXGroupBannedMemberResultPage *)*result* cursor:(NSString *)*cursor*

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

getBlockList:result:

- (BMXErrorCode)getBlockList:(BMXGroup *)*group* result:(BMXGroupMemberResultPage *)*result*

Example:

getBlockList:result:cursor:

- (BMXErrorCode)getBlockList:(BMXGroup *)*group* result:(BMXGroupMemberResultPage *)*result* cursor:(NSString *)*cursor*

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

getInfo:

Get group detail information from server

- (BMXErrorCode)getInfo:(BMXGroup *)*group*

Parameters

group
The group

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

getInfo:completion:

Get group detail information from server

- (void)getInfo:(BMXGroup *)*group* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*

Parameters

group
The group

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

getInvitationList:

- (BMXErrorCode)getInvitationList:(BMXGroupInvitationPage *)*result*

Example:

getInvitationList:cursor:

- (BMXErrorCode)getInvitationList:(BMXGroupInvitationPage *)*result* cursor:(NSString *)*cursor*

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

getMembers:result:

- (BMXErrorCode)getMembers:(BMXGroup *)*group* result:(BMXGroupMemberResultPage *)*result*

Example:

getMembers:result:cursor:

- (BMXErrorCode)getMembers:(BMXGroup *)*group* result:(BMXGroupMemberResultPage *)*result* cursor:(NSString *)*cursor*

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

initWithCptr:swigOwnCObject:

- (id)initWithCptr:(void *)*cptr* swigOwnCObject:(BOOL)*ownCObject*

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

leaveWithGroup:

Leave a group

- (BMXErrorCode)leaveWithGroup:(BMXGroup *)*group*

Parameters

group
The group

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

leaveWithGroup:completion:

Leave a group

- (void)leaveWithGroup:(BMXGroup *)*group* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*

Parameters

group
The group

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

removeDelegate:

Remove group service listener

- (void)removeDelegate:(id<BMXGroupServiceProtocol>)*aDelegate*

Parameters

listener
The listener

Declared In

  • floo_proxy.h

Example:

removeGroupListener:

Remove group service listener

- (void)removeGroupListener:(id<BMXGroupServiceProtocol>)*listener*

Parameters

listener
The listener

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

searchWithGroupId:forceRefresh:completion:

- (void)searchWithGroupId:(long long)*groupId* forceRefresh:(BOOL)*forceRefresh* completion:(void ( ^ ) ( BMXGroup *res , BMXError *aError ))*resBlock*

Example:

searchWithGroupId:group:forceRefresh:

- (BMXErrorCode)searchWithGroupId:(long long)*groupId* group:(BMXGroup *)*group* forceRefresh:(BOOL)*forceRefresh*

Example:

searchWithGroupIdList:list:forceRefresh:

- (BMXErrorCode)searchWithGroupIdList:(ListOfLongLong *)*groupIdList* list:(BMXGroupList *)*list* forceRefresh:(BOOL)*forceRefresh*

Example:

searchWithList:forceRefresh:

- (BMXErrorCode)searchWithList:(BMXGroupList *)*list* forceRefresh:(BOOL)*forceRefresh*

Example:

searchWithList:name:

- (BMXErrorCode)searchWithList:(BMXGroupList *)*list* name:(NSString *)*name*

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

setDescription:description:

Set group description

- (BMXErrorCode)setDescription:(BMXGroup *)*group* description:(NSString *)*description*

Parameters

group
The group

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

setDescription:description:completion:

Set group description

- (void)setDescription:(BMXGroup *)*group* description:(NSString *)*description* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*

Parameters

group
The group

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

setHistoryVisible:enable:

Set whether group members can see group history messages

- (BMXErrorCode)setHistoryVisible:(BMXGroup *)*group* enable:(BOOL)*enable*

Parameters

group
The group

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

setInviteMode:mode:

Set invitation mode

- (BMXErrorCode)setInviteMode:(BMXGroup *)*group* mode:(BMXGroup_InviteMode)*mode*

Parameters

group
The group

mode
Invitation mode

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

setJoinAuthMode:mode:

Set authorization mode

- (BMXErrorCode)setJoinAuthMode:(BMXGroup *)*group* mode:(BMXGroup_JoinAuthMode)*mode*

Parameters

group
The group

mode
Authorization mode

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

setMsgPushMode:mode:

Set message notification mode

- (BMXErrorCode)setMsgPushMode:(BMXGroup *)*group* mode:(BMXGroup_MsgPushMode)*mode*

Parameters

group
The group

mode
Notification mode

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

setMyNickname:nickname:

Set my nickname in the group

- (BMXErrorCode)setMyNickname:(BMXGroup *)*group* nickname:(NSString *)*nickname*

Parameters

group
The group

nickname
My nickname

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

setName:name:

Set group name

- (BMXErrorCode)setName:(BMXGroup *)*group* name:(NSString *)*name*

Parameters

group
The group

name
Group name

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

unbanGroupWithGroup:

Unban all members in the group

- (BMXErrorCode)unbanGroupWithGroup:(BMXGroup *)*group*

Parameters

group
The group

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

unbanGroupWithGroup:completion:

Unban all members in the group

- (void)unbanGroupWithGroup:(BMXGroup *)*group* completion:(void ( ^ ) ( BMXError *aError ))*resBlock*

Parameters

group
The group

Return Value

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

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

BMXErrorCode

Declared In

  • floo_proxy.h

Example:

© 2019-2024 MaximTop | Homepage | Site Map Last modified time: 2024-12-07 06:49:06