蓝莺开发者
Web & Mini ProgramiOSAndroidC++Server API

BMXUserServiceProtocol Protocol Reference#

Conforms to NSObject
Declared in floo_proxy.h

Overview#

@protocol 用户服务监听者

Instance Methods#

connectStatusDidChanged:#

链接状态发生变化

- (void)connectStatusDidChanged:(BMXConnectStatus)status

Parameters#

status
连接状态

Declared In#

  • floo_proxy.h


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXUserServiceProtocol",function="connectStatusDidChanged:" %}{% endlanying_code_snippet %}

userInfoDidUpdated:#

同步用户信息更新(其他设备操作发生用户信息变更)

- (void)userInfoDidUpdated:(BMXUserProfile )userProflie*

Discussion#

同步用户信息更新(其他设备操作发生用户信息变更)

Declared In#

  • floo_proxy.h


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXUserServiceProtocol",function="userInfoDidUpdated:" %}{% endlanying_code_snippet %}

userOtherDeviceDidSignIn:#

用户在其他设备上登陆

- (void)userOtherDeviceDidSignIn:(NSInteger)deviceSN

Discussion#

用户在其他设备上登陆

Declared In#

  • floo_proxy.h


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXUserServiceProtocol",function="userOtherDeviceDidSignIn:" %}{% endlanying_code_snippet %}

userOtherDeviceDidSignOut:#

用户在其他设备上登出

- (void)userOtherDeviceDidSignOut:(NSInteger)deviceSN

Discussion#

用户在其他设备上登出

Declared In#

  • floo_proxy.h


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXUserServiceProtocol",function="userOtherDeviceDidSignOut:" %}{% endlanying_code_snippet %}

userSignIn:#

用户登陆

- (void)userSignIn:(BMXUserProfile )userProflie*

Parameters#

userProflie
用户信息

Declared In#

  • floo_proxy.h


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXUserServiceProtocol",function="userSignIn:" %}{% endlanying_code_snippet %}

userSignOut:userId:#

用户登出

- (void)userSignOut:(BMXError )error userId:(long long)userId*

Parameters#

error
错误码

Declared In#

  • floo_proxy.h

Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXUserServiceProtocol",function="userSignOut:userId:" %}{% endlanying_code_snippet %}
自动生成的 API 内容,仅在必要位置补充精简的 AI 解释。