public static class

ConversationClient.ConversationClientConfig

extends Object
java.lang.Object
   ↳ com.nexmo.sdk.conversation.client.ConversationClient.ConversationClientConfig
Known Direct Subclasses

Class Overview

POJO which contains current configuration (has to be built by Builder) First step is to acquire a ```ConversationClient``` instance based on a context.

     ConversationClient client = new ConversationClient.ConversationClientBuilder()
     .context(this)
     .build();
 
Optional parameters for ConversationClientBuilder are:
.environmentHost(endpoint)      // default Config.ENDPOINT_PRODUCTION = "https://ws.nexmo.com"
.imageProcessingServiceUrl(ips) // default Config.IPS_ENDPOINT_PRODUCTION = "https://api.nexmo.com/v1/image"
.flushPending(true)             // default true. Pending operations from previous app start will be flushed on login process
.logLevel(Log.ASSERT)           // default Log.ASSERT(minimal output). For verbose logs use Log.VERBOSE
.autoReconnect(true)            // default true. Set automatic reconnect policy if the connectivity gets lost.

Summary

Fields
protected boolean autoReconnect
protected Context context
protected boolean enableCrashReporting
protected String endpointPath
protected String environmentHost
protected boolean flushPending
protected String imageProcessingServiceUrl
protected int logLevel
protected boolean onMainThread
Public Methods
Context getContext()
String getEndpointPath()
String getEnvironmentHost()
String getImageProcessingServiceUrl()
boolean isAutoReconnect()
boolean isEnableCrashReporting()
boolean isFlushPending()
boolean isOnMainThread()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected boolean autoReconnect

protected Context context

protected boolean enableCrashReporting

protected String endpointPath

protected String environmentHost

protected boolean flushPending

protected String imageProcessingServiceUrl

protected int logLevel

protected boolean onMainThread

Public Methods

public Context getContext ()

public String getEndpointPath ()

public String getEnvironmentHost ()

public String getImageProcessingServiceUrl ()

public boolean isAutoReconnect ()

public boolean isEnableCrashReporting ()

public boolean isFlushPending ()

public boolean isOnMainThread ()