藍鶯開發者
Web & Mini ProgramiOSAndroidC++Server API

BMXRosterServiceProtocol Protocol Reference#

Conforms to NSObject
Declared in floo_proxy.h

Overview#

@protocol 好友服務監聽者

Instance Methods#

friendAddedSponsorId:recipientId:#

添加好友

- (void)friendAddedSponsorId:(long long)sponsorId recipientId:(long long)recipientId

Parameters#

sponsorId
發起方

recipientId
接受方

Declared In#

  • floo_proxy.h


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXRosterServiceProtocol",function="friendAddedSponsorId:recipientId:" %}{% endlanying_code_snippet %}

friendAddedtoBlockListSponsorId:recipientId:#

添加黑名單

- (void)friendAddedtoBlockListSponsorId:(long long)sponsorId recipientId:(long long)recipientId

Parameters#

sponsorId
發起方

recipientId
接受方

Declared In#

  • floo_proxy.h


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXRosterServiceProtocol",function="friendAddedtoBlockListSponsorId:recipientId:" %}{% endlanying_code_snippet %}

friendDidApplicationAcceptedFromSponsorId:recipientId:#

加好友申請被通過了 使用者B同意使用者A的加好友請求後,使用者A會收到這個回呼

- (void)friendDidApplicationAcceptedFromSponsorId:(long long)sponsorId recipientId:(long long)recipientId

Parameters#

sponsorId
發起方

recipientId
接受方

Declared In#

  • floo_proxy.h


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXRosterServiceProtocol",function="friendDidApplicationAcceptedFromSponsorId:recipientId:" %}{% endlanying_code_snippet %}

friendDidApplicationDeclinedFromSponsorId:recipientId:reson:#

加好友申請被拒絕了 使用者B拒絕使用者A的加好友請求後,使用者A會收到這個回呼

- (void)friendDidApplicationDeclinedFromSponsorId:(long long)sponsorId recipientId:(long long)recipientId reson:(NSString )reason*

Parameters#

sponsorId
發起方

recipientId
接受方

reason
拒絕理由

Declared In#

  • floo_proxy.h


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXRosterServiceProtocol",function="friendDidApplicationDeclinedFromSponsorId:recipientId:reson:" %}{% endlanying_code_snippet %}

friendDidRecivedAppliedSponsorId:recipientId:message:#

收到加好友申請 使用者B申請加A為好友後,使用者A會收到這個回呼

- (void)friendDidRecivedAppliedSponsorId:(long long)sponsorId recipientId:(long long)recipientId message:(NSString )message*

Parameters#

sponsorId
發起方

recipientId
接受方

message
好友邀請信息

Declared In#

  • floo_proxy.h


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXRosterServiceProtocol",function="friendDidRecivedAppliedSponsorId:recipientId:message:" %}{% endlanying_code_snippet %}

friendRemovedFromBlockListSponsorId:recipientId:#

刪除黑名單

- (void)friendRemovedFromBlockListSponsorId:(long long)sponsorId recipientId:(long long)recipientId

Parameters#

sponsorId
發起方

recipientId
接受方

Declared In#

  • floo_proxy.h


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXRosterServiceProtocol",function="friendRemovedFromBlockListSponsorId:recipientId:" %}{% endlanying_code_snippet %}

friendRemovedSponsorId:recipientId:#

刪除好友 使用者B刪除與使用者A的好友關係後,使用者A會收到這個回呼

- (void)friendRemovedSponsorId:(long long)sponsorId recipientId:(long long)recipientId

Parameters#

sponsorId
發起方

recipientId
接受方

Declared In#

  • floo_proxy.h


Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXRosterServiceProtocol",function="friendRemovedSponsorId:recipientId:" %}{% endlanying_code_snippet %}

rosterInfoDidUpdate:#

使用者信息更新

- (void)rosterInfoDidUpdate:(BMXRosterItem )roster*

Discussion#

使用者信息更新

Declared In#

  • floo_proxy.h

Example:

{% lanying_code_snippet repo="lanying-im-ios",class="BMXRosterServiceProtocol",function="rosterInfoDidUpdate:" %}{% endlanying_code_snippet %}
自動產生的 API 內容,僅在必要位置補充精簡的 AI 解說。