- Installation
- Push Notification
- Customization
- Rest API
- API Reference
- Zoho SalesIQ
- Launcher
- Conversation
- Chat
- start()
- startWithTrigger()
- setWaitingTime()
- get()
- setTitle()
- setLanguage()
- setDepartment()
- setOperatorEmail()
- setVisibility()
- showOperatorImageInLauncher()
- setVisibility(MbedableComponent)
- showOfflineMessage()
- getList()
- open()
- endSession()
- fetchAttenderImage()
- setListener()
- getDepartments()
- showFeedbackAfterSkip()
- hideQueueTime()
- show()
- Chat Actions
- Calls
- Logger
- Visitor
- Visitor Tracking
- Notification
- Knowledge Base
- FAQ
- SDK 2.x, 3.x
- SDK 1.x
- Download Sample App
- Release Notes
- Additional Features
getList()
Note: This API is supported from version 8.1.0-beta01.
The getList() API fetches the list of conversations and returns the result via the callback.
Parameters:
- callback: A ZohoSalesIQResultCallback<List<SalesIQConversation>> instance that asynchronously receives the conversation list.
- onSuccess: Provides a List<SalesIQConversation> containing the retrieved conversations.
- onFailure: Returns an error if the retrieval fails.
Syntax
Copiedvoid getList(ZohoSalesIQResultCallback<List<SalesIQConversation>> callback);
Example
CopiedZohoSalesIQCalls.getList(new ZohoSalesIQResultCallback<List<SalesIQConversation>>() {
@Override
public void onComplete(@NonNull SalesIQResult<List<SalesIQConversation>> result) {
if (result.isSuccess()) {
List<SalesIQConversation> calls = result.getData();
} else {
Log.d("Mobilisten", "getList, Error: code: " + result.getError().getCode() + ", message: " + result.getError().getMessage());
}
}
});
CopiedZohoSalesIQCalls.getList { result ->
if (result.isSuccess) {
val calls = result.data
} else {
Log.d("Mobilisten", "getList, Error: code: ${result.error?.code} , message: ${result.error?.message}")
}
}
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.