LANYINGDevelopers
Web & Mini ProgramiOSAndroidC++Server API

BMXChatServiceProtocol Protocol Reference#

Conforms to NSObject
Declared in floo_proxy.h

Overview#

@protocol Chat service listener

Instance Methods#

conversationDidCreatedConversation:message:#

Conversation created

- (void)conversationDidCreatedConversation:(BMXConversation )conversation message:(BMXMessage )message

Parameters#

conversation
Newly created local conversation

message
The latest message

Declared In#

  • floo_proxy.h


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXChatServiceProtocol",function="conversationDidCreatedConversation:message:" %}{% endlanying_code_snippet %}

conversationDidDeletedConversationId:error:#

Conversation deleted

- (void)conversationDidDeletedConversationId:(NSInteger)conversationId error:(BMXError )error*

Parameters#

conversationId
ID of the deleted local conversation

error
Status error code

Declared In#

  • floo_proxy.h


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXChatServiceProtocol",function="conversationDidDeletedConversationId:error:" %}{% endlanying_code_snippet %}

conversationTotalCountChanged:#

Conversation unread message count changed

- (void)conversationTotalCountChanged:(NSInteger)unreadCount

Parameters#

unreadCount
Unread count

Declared In#

  • floo_proxy.h


Example:

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

loadAllConversationDidFinished#

The unread conversation list has finished loading

- (void)loadAllConversationDidFinished

Discussion#

The unread conversation list has finished loading

Declared In#

  • floo_proxy.h


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXChatServiceProtocol",function="loadAllConversationDidFinished" %}{% endlanying_code_snippet %}

messageAttachmentStatusDidChanged:error:percent:#

Attachment download status changed

- (void)messageAttachmentStatusDidChanged:(BMXMessage )message error:(BMXError )error percent:(int)percent

Discussion#

Attachment download status changed

Declared In#

  • floo_proxy.h


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXChatServiceProtocol",function="messageAttachmentStatusDidChanged:error:percent:" %}{% endlanying_code_snippet %}

messageAttachmentUploadProgressChanged:percent:#

Attachment upload progress changed

- (void)messageAttachmentUploadProgressChanged:(BMXMessage )message percent:(int)percent*

Discussion#

Attachment upload progress changed

Declared In#

  • floo_proxy.h


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXChatServiceProtocol",function="messageAttachmentUploadProgressChanged:percent:" %}{% endlanying_code_snippet %}

messageRecallStatusDidChanged:error:#

Message recall status changed

- (void)messageRecallStatusDidChanged:(BMXMessage )message error:(BMXError )error

Discussion#

Message recall status changed

Declared In#

  • floo_proxy.h


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXChatServiceProtocol",function="messageRecallStatusDidChanged:error:" %}{% endlanying_code_snippet %}

messageStatusChanged:error:#

Message delivery status changed

- (void)messageStatusChanged:(BMXMessage )message error:(BMXError )error

Discussion#

Message delivery status changed

Declared In#

  • floo_proxy.h


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXChatServiceProtocol",function="messageStatusChanged:error:" %}{% endlanying_code_snippet %}

receiveDeleteMessages:#

Message deletion received from another device

- (void)receiveDeleteMessages:(NSArray<BMXMessage> )messages

Discussion#

Message deletion received from another device

Declared In#

  • floo_proxy.h


Example:

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

receiveReadAllMessages:#

Read-all update received from another device for messages before the specified message

- (void)receiveReadAllMessages:(NSArray<BMXMessage> )messages

Discussion#

Read-all update received from another device for messages before the specified message

Declared In#

  • floo_proxy.h


Example:

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

receiveReadCancelsMessages:#

Read cancellation received from another device, changing the message back to unread

- (void)receiveReadCancelsMessages:(NSArray<BMXMessage> )messages

Discussion#

Read cancellation received from another device, changing the message back to unread

Declared In#

  • floo_proxy.h


Example:

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

receivedCommandMessages:#

Command messages received

- (void)receivedCommandMessages:(NSArray<BMXMessage> )messages

Discussion#

Command messages received

Declared In#

  • floo_proxy.h


Example:

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

receivedDeliverAcks:#

Message delivery receipts received

- (void)receivedDeliverAcks:(NSArray<BMXMessage> )messages

Discussion#

Message delivery receipts received

Declared In#

  • floo_proxy.h


Example:

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

receivedMessages:#

Messages received

- (void)receivedMessages:(NSArray<BMXMessage> )messages

Discussion#

Messages received

Declared In#

  • floo_proxy.h


Example:

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

receivedReadAcks:#

Message read receipts received

- (void)receivedReadAcks:(NSArray<BMXMessage> )messages

Discussion#

Message read receipts received

Declared In#

  • floo_proxy.h


Example:

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

receivedRecallMessages:#

Recalled messages received

- (void)receivedRecallMessages:(NSArray<BMXMessage> )messages

Discussion#

Recalled messages received

Declared In#

  • floo_proxy.h


Example:

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

receivedSystemMessages:#

System notification messages received

- (void)receivedSystemMessages:(NSArray<BMXMessage> )messages

Discussion#

System notification messages received

Declared In#

  • floo_proxy.h


Example:

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

retrieveHistoryMessagesConversation:#

Message history retrieved

- (void)retrieveHistoryMessagesConversation:(BMXConversation )conversation*

Discussion#

Message history retrieved

Declared In#

  • floo_proxy.h

Example:

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