Sendbird Chat SDK for Unreal
Public Member Functions | List of all members
SBDOperatorListQuery Class Referencefinal

#include <SBDOperatorListQuery.h>

Public Member Functions

void SetLimit (int limit)
 
bool HasNext ()
 
bool IsLoading ()
 
void LoadNextPage (std::function< void(const std::vector< SBDUser > &users, SBDError *error)> completion_handler)
 

Detailed Description

A class representing query to retrieve operator lists related to User.

Since
3.0.37

Member Function Documentation

◆ HasNext()

bool SBDOperatorListQuery::HasNext ( )

Checks if there is a next page.

Returns
true if there is a next page.
Since
3.0.37

◆ IsLoading()

bool SBDOperatorListQuery::IsLoading ( )

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

Returns
true if the current query is not finished.
Since
3.0.37

◆ LoadNextPage()

void SBDOperatorListQuery::LoadNextPage ( std::function< void(const std::vector< SBDUser > &users, SBDError *error)>  completion_handler)

Gets the list of operators.

Parameters
completion_handlerA callback handler to get the queried result.
Since
3.0.37

◆ SetLimit()

void SBDOperatorListQuery::SetLimit ( int  limit)

Sets the maximum number of operators per queried page.

Parameters
limitThe maximum number of operators per page.
Since
3.0.37