SBDFriendListQuery Class Reference

Inherits from NSObject
Conforms to NSCopying
Declared in SBDFriendListQuery.h

  limit

Sets the number of friends per page.

@property (atomic) NSUInteger limit

Declared In

SBDFriendListQuery.h

  hasNext

Shows if there is a next page

@property (atomic, readonly) BOOL hasNext

Declared In

SBDFriendListQuery.h

– loadNextPageWithCompletionHandler:

Gets the list of friends. If this method is repeatedly called, it will retrieve the following pages of the friend list.

- (void)loadNextPageWithCompletionHandler:(nullable void ( ^ ) ( NSArray<SBDUser*> *_Nullable users , SBDError *_Nullable error ))completionHandler

Parameters

completionHandler

The handler block to execute. The users is the array of SBDUser instances.

Declared In

SBDFriendListQuery.h