Package com.cometchat.pro.core
Class ConversationsRequest
- java.lang.Object
-
- com.cometchat.pro.core.ConversationsRequest
-
public class ConversationsRequest extends java.lang.Object
ConversationsRequest class helps developer to fetch list of conversations based on different parameters set by developer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConversationsRequest.ConversationsRequestBuilder
-
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 inConversationsRequestBuilder
class The Developer need to call this method repeatedly using the same object of
ConversationsRequest
class to get paginated list of conversations
-
-
-
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 inConversationsRequestBuilder
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 theCallbackListener<List<Conversation>>
class that helps inform the developer if the operation was successful or any error occurred.
- Since:
- v2
- See Also:
ConversationsRequest.ConversationsRequestBuilder
-
-