Skip to main content

getFriendApplicationListAsApplicant

Feature Introduction

Description

Retrieve the friend request list, referring to those initiated by the user as the applicant.

Function Prototype


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

Input Parameters

None

Return Value

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

Code Example


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