LANYINGDevelopers
Web & Mini ProgramiOSAndroidC++Server API

BMXUserServiceProtocol Protocol Reference#

Conforms to NSObject
Declared in floo_proxy.h

Overview#

@protocol User service listener

Instance Methods#

connectStatusDidChanged:#

Connection status changed

- (void)connectStatusDidChanged:(BMXConnectStatus)status

Parameters#

status
Connection status

Declared In#

  • floo_proxy.h


Example:

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

userInfoDidUpdated:#

User information update synchronized from another device

- (void)userInfoDidUpdated:(BMXUserProfile )userProflie*

Discussion#

User information update synchronized from another device

Declared In#

  • floo_proxy.h


Example:

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

userOtherDeviceDidSignIn:#

The user signed in on another device

- (void)userOtherDeviceDidSignIn:(NSInteger)deviceSN

Discussion#

The user signed in on another device

Declared In#

  • floo_proxy.h


Example:

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

userOtherDeviceDidSignOut:#

The user signed out on another device

- (void)userOtherDeviceDidSignOut:(NSInteger)deviceSN

Discussion#

The user signed out on another device

Declared In#

  • floo_proxy.h


Example:

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

userSignIn:#

User signed in

- (void)userSignIn:(BMXUserProfile )userProflie*

Parameters#

userProflie
User information

Declared In#

  • floo_proxy.h


Example:

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

userSignOut:userId:#

User signed out

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

Parameters#

error
Error code

Declared In#

  • floo_proxy.h

Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXUserServiceProtocol",function="userSignOut:userId:" %}{% endlanying_code_snippet %}
Generated API content with concise AI notes where context helps.