ActiveDeviceVerificationImpl

class ActiveDeviceVerificationImpl(request: VerificationRequestToDeviceEventContent, requestIsOurs: Boolean, ownUserId: UserId, ownDeviceId: String, theirUserId: UserId, theirDeviceId: String? = null, theirDeviceIds: Set<String> = setOf(), supportedMethods: Set<VerificationMethod>, api: MatrixClientServerApiClient, olmDecrypter: OlmDecrypter, olmEncryptionService: OlmEncryptionService, keyTrust: KeyTrustService, keyStore: KeyStore) : ActiveVerificationImpl, ActiveDeviceVerification

Constructors

Link copied to clipboard
constructor(request: VerificationRequestToDeviceEventContent, requestIsOurs: Boolean, ownUserId: UserId, ownDeviceId: String, theirUserId: UserId, theirDeviceId: String? = null, theirDeviceIds: Set<String> = setOf(), supportedMethods: Set<VerificationMethod>, api: MatrixClientServerApiClient, olmDecrypter: OlmDecrypter, olmEncryptionService: OlmEncryptionService, keyTrust: KeyTrustService, keyStore: KeyStore)

Properties

Link copied to clipboard
abstract val relatesTo: RelatesTo.Reference?
Link copied to clipboard
abstract val state: StateFlow<ActiveVerificationState>
Link copied to clipboard
abstract val theirDeviceId: String?
Link copied to clipboard
abstract val theirUserId: UserId
Link copied to clipboard
abstract val timestamp: Long
Link copied to clipboard
abstract val transactionId: String?

Functions

Link copied to clipboard
abstract suspend fun cancel(message: String = "user cancelled verification")