Skip to main content

getFriendApplicationListAsRecipient

Feature Introduction

Note

Retrieve the list of friend requests where the current user is the recipient, meaning the friend requests they have received.

Function Prototype


- (void)getFriendApplicationListWithOnSuccess:(nullable OIMFriendApplicationsCallback)onSuccess
onFailure:(nullable OIMFailureCallback)onFailure;

Input Parameters

None

Return Results

Parameter NameParameter TypeDescription
onSuccessNSArray< OIMFriendApplication * >Successful Return
onFailureOIMFailureCallbackFailure Return

Code Example


[OIMManager.manager getFriendApplicationListWithOnSuccess:^(NSArray<OIMFriendApplication *> * _Nullable friendApplications) {
} onFailure:^(NSInteger code, NSString * _Nullable msg) {
}];