MXDeviceInfo

@JsonClass(generateAdapter = true)
data class MXDeviceInfo(@Json(name = "device_id") val deviceId: String, @Json(name = "user_id") val userId: String, @Json(name = "algorithms") val algorithms: List<String>? = null, @Json(name = "keys") val keys: Map<String, String>? = null, @Json(name = "signatures") val signatures: Map<String, Map<String, String>>? = null, @Json(name = "unsigned") val unsigned: JsonDict? = null, val verified: Int = DEVICE_VERIFICATION_UNKNOWN) : Serializable

Constructors

Link copied to clipboard
constructor(@Json(name = "device_id") deviceId: String, @Json(name = "user_id") userId: String, @Json(name = "algorithms") algorithms: List<String>? = null, @Json(name = "keys") keys: Map<String, String>? = null, @Json(name = "signatures") signatures: Map<String, Map<String, String>>? = null, @Json(name = "unsigned") unsigned: JsonDict? = null, verified: Int = DEVICE_VERIFICATION_UNKNOWN)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val algorithms: List<String>? = null

The list of algorithms supported by this device.

Link copied to clipboard

The id of this device.

Link copied to clipboard

Tells if the device is blocked.

Link copied to clipboard

Tells if the device is unknown.

Link copied to clipboard

Tells if the device is unverified.

Link copied to clipboard

Tells if the device is verified.

Link copied to clipboard
val keys: Map<String, String>? = null

A map from ":" to "".

Link copied to clipboard

The signature of this MXDeviceInfo. A map from "" to a map from ":" to ""

Link copied to clipboard
val unsigned: JsonDict? = null
Link copied to clipboard

the user id.

Link copied to clipboard

Verification state of this device.