IM

  • IM > API 文档 > iOS API 参考 > Protocol References > BMXUserManager Protocol Reference

    BMXUserManager Protocol Reference

    最近更新时间:2021-06-27 17:56:50

    BMXUserManager Protocol Reference

    Conforms to NSObject
    Declared in BMXUserManager.h

    - bindDevice:completion:

    绑定设备推送token

    - (void)bindDevice:(NSString *) _token_ completion:(void ( ^ ) ( BMXError *error )) _aCompletionBlock_

    Discussion

    绑定设备推送token

    Declared In

    BMXUserManager.h

    - getDeviceListCompletion:

    获取设备列表

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

    Discussion

    获取设备列表

    Declared In

    BMXUserManager.h

    - deleteDeviceByDeviceSN:completion:

    删除设备

    - (void)deleteDeviceByDeviceSN:(NSInteger) _deviceSN_ completion:(void ( ^ ) ( BMXError *error )) _aCompletionBlock_

    Discussion

    删除设备

    Declared In

    BMXUserManager.h

    - getProfileForceRefresh:completion:

    获取用户详情

    - (void)getProfileForceRefresh:(BOOL) _forceRefresh_ completion:(void ( ^ ) ( BMXUserProfile *profile , BMXError *aError )) _aCompletionBlock_

    Discussion

    获取用户详情

    Declared In

    BMXUserManager.h

    - setNickname:completion:

    设置昵称

    - (void)setNickname:(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

    - 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

    - setPublicInfo:completion:

    设置公开扩展信息

    - (void)setPublicInfo:(NSString *) _publicInfo_ completion:(void ( ^ ) ( BMXError *error )) _aCompletionBlock_

    Parameters

    publicInfo string

    Discussion

    设置公开扩展信息

    Declared In

    BMXUserManager.h

    - setPrivateInfo:completion:

    设置私有扩展信息

    - (void)setPrivateInfo:(NSString *) _privateInfo_ completion:(void ( ^ ) ( BMXError *error )) _aCompletionBlock_

    Parameters

    privateInfo string

    Discussion

    设置私有扩展信息

    Declared In

    BMXUserManager.h

    - 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

    - setEnablePushStatus:completion:

    设置是否允许推送

    - (void)setEnablePushStatus:(BOOL) _enablePushStatus_ completion:(void ( ^ ) ( BMXError *error )) _aCompletionBlock_

    Parameters

    enablePushStatus 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

    - setsetPushNickname:completion:

    设置推送昵称

    - (void)setsetPushNickname:(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 BOOL

    Discussion

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

    Declared In

    BMXUserManager.h

    - setNotificationVibrate:completion:

    设置收到新消息是否震动

    - (void)setNotificationVibrate:(BOOL) _notificationVibrate_ completion:(void ( ^ ) ( BMXError *error )) _aCompletionBlock_

    Parameters

    notificationVibrate 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

    - setAutoAcceptGroupInvite:completion:

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

    - (void)setAutoAcceptGroupInvite:(BOOL) _autoAcceptGroupInvite_ completion:(void ( ^ ) ( BMXError *error )) _aCompletionBlock_

    Parameters

    autoAcceptGroupInvite BOOL

    Discussion

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

    Declared In

    BMXUserManager.h

    以上内容是否对您有帮助?
  • Qvm free helper
    Close