getFriendApplications

public abstract void getFriendApplications(PagingQueryOption option, Array<FriendApplicationType> types, Array<FriendApplicationStatus> status, IRongCoreCallback.PageResultCallback<FriendApplicationInfo> callback)

Paginate through the list of friend requests

Parameters

option

Pagination request parameters. Refer to PagingQueryOption, which includes the page token (optional, defaults to the first page if not provided), the number of items per page (maximum of 100), and whether to query in ascending order (defaults to descending).

types

Request types. Multiple types can be selected. Refer to

status

Request status. Multiple statuses can be selected, including friend request pending, accepted, rejected, or expired. Refer to FriendApplicationStatus

callback

The result is returned through this callback upon completion. Note: This interface does not return the total number of items in the paginated data.