What are the configuration settings for the Business Messaging iOS SDK?

What are the configuration settings for the Business Messaging Android SDK?

Clearing local data

Use the following method to delete any local data concerning the AppId provided that has been saved inside the SDK, such as databases and files:

Kotlin

  1. BusinessMessaging.clearData(context,appId,object :
    ZDChatCallback.ZDClearDataCallback {
        
    override fun onSuccess() {}
        
    override fun onFailed(exception: Exception) {}
    
    })

Java

  1. BusinessMessaging.clearData(context,appId,new ZDChatCallback.ZDClearDataCallback() {
    
    @Override
    
    public void onSuccess() {
    
    }
    
    @Override
    
    public void onFailed(Exception exception) {

    
    }
    
});

SDK logging 

By default, the SDK logs are disabled. To get the debug logs printed in logcat, enable the logs by the following method:
  1. BusinessMessaging.enableLog(true);

Control agent transfer option visibility

Use the below API to show or hide the agent transfer option in Business Messaging. Set true to display the option or false to hide it based on your workflow needs.

BusinessMessaging.setAgentTransferOptionVisibility(true);