Package com.cometchat.pro.core
Class ConversationsRequest
- java.lang.Object
-
- com.cometchat.pro.core.ConversationsRequest
-
public class ConversationsRequest extends java.lang.ObjectConversationsRequest 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 classConversationsRequest.ConversationsRequestBuilder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfetchNext(CometChat.CallbackListener<java.util.List<Conversation>> listener)Get list of next set of conversations based on the parameters specified inConversationsRequestBuilderclass The Developer need to call this method repeatedly using the same object ofConversationsRequestclass 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 inConversationsRequestBuilderclass The Developer need to call this method repeatedly using the same object ofConversationsRequestclass 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
-
-