Sendbird Chat SDK for Unreal
|
#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) |
A class representing query to retrieve operator lists related to User
.
bool SBDOperatorListQuery::HasNext | ( | ) |
Checks if there is a next page.
true
if there is a next page. bool SBDOperatorListQuery::IsLoading | ( | ) |
Checks if the current query is in communication progress with server.
true
if the current query is not finished. void SBDOperatorListQuery::LoadNextPage | ( | std::function< void(const std::vector< SBDUser > &users, SBDError *error)> | completion_handler | ) |
Gets the list of operators.
completion_handler | A callback handler to get the queried result. |
void SBDOperatorListQuery::SetLimit | ( | int | limit | ) |
Sets the maximum number of operators per queried page.
limit | The maximum number of operators per page. |