Properties

interface Properties

Properties for client initialization configuration

Types

Link copied to clipboard
interface Builder
Builder class for client properties

Properties

Link copied to clipboard
Default command timeout value that could be passed into setCommandTimeout.
Link copied to clipboard
Minimum valid command timeout value that could be passed into setCommandTimeout.

Functions

Link copied to clipboard
abstract fun getCommandTimeout(): Int
Timeout in milliseconds for commands which SDK sends over network.
Link copied to clipboard
abstract fun getDeferCA(): Boolean
Defer certificate trust decisions to Android OS, overriding the default of certificate pinning for Twilio back-end connections.
Link copied to clipboard
abstract fun getRegion(): String
Twilio server region to connect to.
Link copied to clipboard
If set to `true`, the SDK will fetch all user conversations from the backend on startup.
Link copied to clipboard
Creates a new Builder instance for building Properties.
Link copied to clipboard
abstract fun useProxy(): Boolean
If useProxy flag is `true` ConversationsClient will try to read and apply proxy settings in the following order:
  1. If there is no proxysettings.properties file in the assets folder of your app then android system proxy settings will be applied.
  2. If the proxysettings.properties file exists in the assets folder of your app then proxy configuration will be read from it and android system settings will be ignored.
  3. If proxy settings cannot be read either from the proxysettings.properties file and from android system settings ConversationsClient will use direct connection.
If this flag is `false` all proxy settings will be ignored and direct connection will be used.