Sendbird Chat SDK for .NET  3.0.29
SendBird.FriendListQuery Class Reference

Public Member Functions

void SetLimit (int limit)
 
bool HasNext ()
 
bool IsLoading ()
 
void Next (FriendListQueryResultHandler handler)
 
delegate void FriendListQueryResultHandler (List< User > queryResult, SendBirdException e)
 

Member Function Documentation

◆ HasNext()

bool SendBird.FriendListQuery.HasNext ( )
inline

Checks if there is a next page.

Returns
true if there is a next page.

◆ IsLoading()

bool SendBird.FriendListQuery.IsLoading ( )
inline

Checks if the current query is in communication progress with server.

Returns
true if the current query is not finished.

◆ Next()

void SendBird.FriendListQuery.Next ( FriendListQueryResultHandler  handler)
inline

Gets the list of friends. The queried result is passed to handler as List. If this method is repeatedly called after each next() is finished, it retrieves the following pages of the friends list. If there is no more pages to be read, an empty List (not null) is returned to handler.

Parameters
handlerA callback handler to get the queried result.

◆ SetLimit()

void SendBird.FriendListQuery.SetLimit ( int  limit)
inline

Sets the maximum number of friends per queried page.

Parameters
limitThe maximum number of friends per page.

The documentation for this class was generated from the following file: