Properties

interface Properties

Properties for client initialization configuration

Types

Builder
Link copied to clipboard
interface Builder
Builder class for client properties

Functions

getCommandTimeout
Link copied to clipboard
abstract fun getCommandTimeout(): Int
Timeout in milliseconds for commands which SDK sends over network.
getDeferCA
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.
getRegion
Link copied to clipboard
abstract fun getRegion(): String
Twilio server region to connect to.
newBuilder
Link copied to clipboard
open fun newBuilder(): ConversationsClient.Properties.Builder
Creates a new Builder instance for building Properties.
useProxy
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.

Properties

DEFAULT_COMMAND_TIMEOUT
Link copied to clipboard
val DEFAULT_COMMAND_TIMEOUT: Int
Default command timeout value that could be passed into setCommandTimeout.
MIN_COMMAND_TIMEOUT
Link copied to clipboard
val MIN_COMMAND_TIMEOUT: Int
Minimum valid command timeout value that could be passed into setCommandTimeout.