Package com.cometchat.pro.core
Class GroupsRequest
- java.lang.Object
-
- com.cometchat.pro.core.GroupsRequest
-
public class GroupsRequest extends java.lang.Object
GroupsRequest class helps developer to fetch list of groups based on different parameters set by developer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GroupsRequest.GroupsRequestBuilder
Builder class to set various parameters to fetch list of Groups
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fetchNext(CometChat.CallbackListener<java.util.List<Group>> listener)
Get list of next set of groups based on the parameters specified inGroupsRequestBuilder
class The Developer need to call this method repeatedly using the same object of
GroupsRequest
class to get paginated list of groups
-
-
-
Method Detail
-
fetchNext
public void fetchNext(CometChat.CallbackListener<java.util.List<Group>> listener)
Get list of next set of groups based on the parameters specified inGroupsRequestBuilder
class The Developer need to call this method repeatedly using the same object of
GroupsRequest
class to get paginated list of groups
- Parameters:
listener
- listener An object of theCallbackListener<List<Group>>
class that helps inform the developer if the operation was successful or any error occurred.
- Since:
- v1
- See Also:
GroupsRequest.GroupsRequestBuilder
-
-