Class 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 in GroupsRequestBuilder class The Developer need to call this method repeatedly using the same object of GroupsRequest class to get paginated list of groups
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 in GroupsRequestBuilder 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 the CallbackListener<List<Group>> class that helps inform the developer if the operation was successful or any error occurred.
        Since:
        v1
        See Also:
        GroupsRequest.GroupsRequestBuilder