藍鶯開發者
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 解說。