Builder
This builder should be use to create a HomeServerConnectionConfig instance.
Constructors
Functions
Link copied to clipboard
fun addAcceptedTlsCipherSuite(tlsCipherSuite: CipherSuite): HomeServerConnectionConfig.Builder
Content copied to clipboard
Add a TLS cipher suite to the list of accepted TLS connections with the homeserver.
Link copied to clipboard
fun addAcceptedTlsVersion(tlsVersion: TlsVersion): HomeServerConnectionConfig.Builder
Content copied to clipboard
Add an accepted TLS version for TLS connections with the homeserver.
Link copied to clipboard
Link copied to clipboard
fun forceUsageOfTlsVersions(forceUsageOfTlsVersions: Boolean): HomeServerConnectionConfig.Builder
Content copied to clipboard
Force the usage of TlsVersion. This can be usefull for device on Android version < 20
Link copied to clipboard
fun withAllowedFingerPrints(allowedFingerprints: List<Fingerprint>?): HomeServerConnectionConfig.Builder
Content copied to clipboard
Link copied to clipboard
fun withAllowHttpConnection(allowHttpExtension: Boolean): HomeServerConnectionConfig.Builder
Content copied to clipboard
Link copied to clipboard
fun withAntiVirusServerUri(antivirusServerUri: Uri?): HomeServerConnectionConfig.Builder
Content copied to clipboard
Update the anti-virus server URI.
fun withAntiVirusServerUri(antivirusServerUriString: String?): HomeServerConnectionConfig.Builder
Content copied to clipboard
Link copied to clipboard
fun withHomeServerUri(hsUriString: String): HomeServerConnectionConfig.Builder
Content copied to clipboard
Link copied to clipboard
fun withIdentityServerUri(identityServerUri: Uri): HomeServerConnectionConfig.Builder
Content copied to clipboard
fun withIdentityServerUri(identityServerUriString: String): HomeServerConnectionConfig.Builder
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun withShouldAcceptTlsExtensions(shouldAcceptTlsExtension: Boolean): HomeServerConnectionConfig.Builder
Content copied to clipboard
Link copied to clipboard
Content copied to clipboard
Convenient method to limit the TLS versions and cipher suites for this Builder Ref: