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

Public Member Functions

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

Properties

int Limit [set]
 
bool Loading [get, set]
 

Member Function Documentation

◆ HasNext()

bool SendBird.OperatorListQuery.HasNext ( )
inline

Checks if there is a next page.

Returns
true if there is a next page. 2020.7

◆ IsLoading()

bool SendBird.OperatorListQuery.IsLoading ( )
inline

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

Returns
true if the current query is not finished. 2020.7

◆ Next()

virtual void SendBird.OperatorListQuery.Next ( OperatorListQueryResultHandler  handler)
inlinevirtual

Gets the list of operators. 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 operator 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. 2020.7

◆ OperatorListQueryResultHandler()

delegate void SendBird.OperatorListQuery.OperatorListQueryResultHandler ( List< User queryResult,
SendBirdException  e 
)

OperatorListQueryResult handler. This handler callback for next(OperatorListQueryResultHandler).

◆ SetLimit()

void SendBird.OperatorListQuery.SetLimit ( int  limit)
inline

Sets the maximum number of operators per queried page.

Parameters
limitThe maximum number of operators per page. 2020.7

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