public class UsersRequest
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UsersRequest.UsersRequestBuilder
Builder class to set various parameters to fetch list of Users
|
static interface |
UsersRequest.UserStatus |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
USER_STATUS_OFFLINE |
static java.lang.String |
USER_STATUS_ONLINE |
| Modifier and Type | Method and Description |
|---|---|
void |
fetchNext(CometChat.CallbackListener<java.util.List<User>> listener)
Get list of next set of users based on the parameters specified in
UsersRequestBuilder |
public static final java.lang.String USER_STATUS_ONLINE
public static final java.lang.String USER_STATUS_OFFLINE
public void fetchNext(CometChat.CallbackListener<java.util.List<User>> listener)
UsersRequestBuilder class
The Developer need to call this method repeatedly using the same object of UsersRequest class to get paginated list of userslistener - listener An object of the CallbackListener<List<User>> class that helps inform the developer if the operation was successful or any error occurred.UsersRequest.UsersRequestBuilder