DiscoveryInformation

@JsonClass(generateAdapter = true)
data class DiscoveryInformation(@Json(name = "m.homeserver") val homeServer: WellKnownBaseConfig? = null, @Json(name = "m.identity_server") val identityServer: WellKnownBaseConfig? = null, @Json(name = "io.element.disable_network_constraint") val disableNetworkConstraint: Boolean? = null)

This is a light version of Wellknown model, used for login response Ref: https://matrix.org/docs/spec/client_server/latest#post-matrix-client-r0-login

Constructors

Link copied to clipboard
constructor(@Json(name = "m.homeserver") homeServer: WellKnownBaseConfig? = null, @Json(name = "m.identity_server") identityServer: WellKnownBaseConfig? = null, @Json(name = "io.element.disable_network_constraint") disableNetworkConstraint: Boolean? = null)

Properties

Link copied to clipboard

If set to true, the SDK will not use the network constraint when configuring Worker for the WorkManager.

Link copied to clipboard

Required. Used by clients to discover homeserver information.

Link copied to clipboard

Used by clients to discover identity server information. Note: matrix.org does not send this field