Builder
Builder class for client properties
Functions
Link copied to clipboard
Create Properties object from this Builder.
Link copied to clipboard
abstract fun setCommandTimeout(commandTimeout: Int): ConversationsClient.Properties.Builder
Content copied to clipboard
Set timeout for commands which SDK sends over network (i.e.
Link copied to clipboard
abstract fun setDeferCertificateTrustToPlatform(defer: Boolean): ConversationsClient.Properties.Builder
Content copied to clipboard
Defer certificate trust decisions to Android OS, overriding the default of certificate pinning for Twilio back-end connections.
Link copied to clipboard
abstract fun setRegion(region: String): ConversationsClient.Properties.Builder
Content copied to clipboard
Select Twilio server region to connect to.
Link copied to clipboard
abstract fun setUseProxy(useProxy: Boolean): ConversationsClient.Properties.Builder
Content copied to clipboard
If useProxy flag is `true` ConversationsClient will try to read and apply proxy settings in the following order:
- If there is no proxysettings.properties file in the assets folder of your app then android system proxy settings will be applied.
- 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.
- If proxy settings cannot be read either from the proxysettings.properties file and from android system settings ConversationsClient will use direct connection.