BMXUserManager Protocol Reference

Conforms to NSObject
Declared in BMXUserManager.h

Instance Methods

addDelegate:

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

addDelegate:delegateQueue:

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

bindDevice:completion:

绑定设备推送token

- (void)bindDevice:(NSString *)*token* completion:(void ( ^ ) ( BMXError *error ))*aCompletionBlock*

Discussion

绑定设备推送token

Declared In

  • BMXUserManager.h

deleteDeviceByDeviceSN:completion:

删除设备

- (void)deleteDeviceByDeviceSN:(NSInteger)*deviceSN* completion:(void ( ^ ) ( BMXError *error ))*aCompletionBlock*

Discussion

删除设备

Declared In

  • BMXUserManager.h

downloadAvatarWithProfile:thumbnail:progress:completion:

下载头像

- (void)downloadAvatarWithProfile:(BMXUserProfile *)*profile* thumbnail:(BOOL)*thumbnail* progress:(void ( ^ ) ( int progress , BMXError *error ))*aProgress* completion:(void ( ^ ) ( BMXUserProfile *profile , BMXError *error ))*aCompletion*

Parameters

profile
用户信息

aProgress
下载进度

aCompletion
回调

Discussion

下载头像

Declared In

  • BMXUserManager.h

getDeviceListCompletion:

获取设备列表

- (void)getDeviceListCompletion:(void ( ^ ) ( BMXError *error , NSArray *deviceList ))*aCompletionBlock*

Discussion

获取设备列表

Declared In

  • BMXUserManager.h

getProfileForceRefresh:completion:

获取用户详情

- (void)getProfileForceRefresh:(BOOL)*forceRefresh* completion:(void ( ^ ) ( BMXUserProfile *profile , BMXError *aError ))*aCompletionBlock*

Discussion

获取用户详情

Declared In

  • BMXUserManager.h

removeDelegate:

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

setAddFriendAuthMode:completion:

设置加好友验证方式

- (void)setAddFriendAuthMode:(BMXAddFriendAuthMode)*addFriendAuthMode* completion:(void ( ^ ) ( BMXError *error ))*aCompletionBlock*

Parameters

addFriendAuthMode
BMXAddFriendAuthMode

Discussion

设置加好友验证方式

Declared In

  • BMXUserManager.h

setAuthQuestion:completion:

设置加好友验证问题

- (void)setAuthQuestion:(BMXAuthQuestion *)*authQuestion* completion:(void ( ^ ) ( BMXError *error ))*aCompletionBlock*

Parameters

authQuestion
BMXAuthQuestion

Discussion

设置加好友验证问题

Declared In

  • BMXUserManager.h

setAutoAcceptGroupInvite:completion:

设置是否自动同意入群邀请

- (void)setAutoAcceptGroupInvite:(BOOL)*autoAcceptGroupInvite* completion:(void ( ^ ) ( BMXError *error ))*aCompletionBlock*

Parameters

autoAcceptGroupInvite
BOOL

Discussion

设置是否自动同意入群邀请

Declared In

  • BMXUserManager.h

setAutoDownloadAttachment:completion:

设置是否自动缩略图和语音附件

- (void)setAutoDownloadAttachment:(BOOL)*autoDownloadAttachment* completion:(void ( ^ ) ( BMXError *error ))*aCompletionBlock*

Parameters

autoDownloadAttachment
BOOL

Discussion

设置是否自动缩略图和语音附件

Declared In

  • BMXUserManager.h

setEnablePushDetail:completion:

设置是否推送详情

- (void)setEnablePushDetail:(BOOL)*enablePushDetail* completion:(void ( ^ ) ( BMXError *error ))*aCompletionBlock*

Parameters

enablePushDetail
BOOL

Discussion

设置是否推送详情

Declared In

  • BMXUserManager.h

setEnablePushStatus:completion:

设置是否允许推送

- (void)setEnablePushStatus:(BOOL)*enablePushStatus* completion:(void ( ^ ) ( BMXError *error ))*aCompletionBlock*

Parameters

enablePushStatus
BOOL

Discussion

设置是否允许推送

Declared In

  • BMXUserManager.h

setNickname:completion:

设置昵称

- (void)setNickname:(NSString *)*nickname* completion:(void ( ^ ) ( BMXError *error ))*aCompletionBlock*

Discussion

设置昵称

Declared In

  • BMXUserManager.h

setNotificationSound:completion:

设置收到新消息是否声音提醒

- (void)setNotificationSound:(BOOL)*notificationSound* completion:(void ( ^ ) ( BMXError *error ))*aCompletionBlock*

Parameters

notificationSound
BOO

Discussion

设置收到新消息是否声音提醒

Declared In

  • BMXUserManager.h

setNotificationVibrate:completion:

设置收到新消息是否震动

- (void)setNotificationVibrate:(BOOL)*notificationVibrate* completion:(void ( ^ ) ( BMXError *error ))*aCompletionBlock*

Parameters

notificationVibrate
BOOL

Discussion

设置收到新消息是否震动

Declared In

  • BMXUserManager.h

setPrivateInfo:completion:

设置私有扩展信息

- (void)setPrivateInfo:(NSString *)*privateInfo* completion:(void ( ^ ) ( BMXError *error ))*aCompletionBlock*

Parameters

privateInfo
string

Discussion

设置私有扩展信息

Declared In

  • BMXUserManager.h

setPublicInfo:completion:

设置公开扩展信息

- (void)setPublicInfo:(NSString *)*publicInfo* completion:(void ( ^ ) ( BMXError *error ))*aCompletionBlock*

Parameters

publicInfo
string

Discussion

设置公开扩展信息

Declared In

  • BMXUserManager.h

setsetPushNickname:completion:

设置推送昵称

- (void)setsetPushNickname:(NSString *)*nickname* completion:(void ( ^ ) ( BMXError *error ))*aCompletionBlock*

Discussion

设置推送昵称

Declared In

  • BMXUserManager.h

uploadAvatarWithData:progress:

上传头像

- (void)uploadAvatarWithData:(NSData *)*avatarData* progress:(void ( ^ ) ( int progress , BMXError *error ))*aProgressBlock*

Parameters

avatarData
头像

aProgressBlock
上传进度

Discussion

上传头像

Declared In

  • BMXUserManager.h
© 2019-2022 美信拓扑 | 官网 该文件修订时间: 2022-03-07 03:07:27

results matching ""

    No results matching ""