Class ConversationsRequest


  • public class ConversationsRequest
    extends java.lang.Object
    ConversationsRequest class helps developer to fetch list of conversations based on different parameters set by developer.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void fetchNext​(CometChat.CallbackListener<java.util.List<Conversation>> listener)
      Get list of next set of conversations based on the parameters specified in ConversationsRequestBuilder class The Developer need to call this method repeatedly using the same object of ConversationsRequest class to get paginated list of conversations
      • 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<Conversation>> listener)
        Get list of next set of conversations based on the parameters specified in ConversationsRequestBuilder class The Developer need to call this method repeatedly using the same object of ConversationsRequest class to get paginated list of conversations
        Parameters:
        listener - listener An object of the CallbackListener<List<Conversation>> class that helps inform the developer if the operation was successful or any error occurred.
        Since:
        v2
        See Also:
        ConversationsRequest.ConversationsRequestBuilder