SasVerificationTransaction

interface SasVerificationTransaction : VerificationTransaction

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract suspend fun acceptVerification()
Link copied to clipboard
abstract suspend fun cancel()

User wants to cancel the transaction.

abstract suspend fun cancel(code: CancelCode)
Link copied to clipboard
abstract fun getDecimalCodeRepresentation(): String?
Link copied to clipboard
abstract fun getEmojiCodeRepresentation(): List<EmojiRepresentation>
Link copied to clipboard
open override fun isSuccessful(): Boolean
Link copied to clipboard
abstract fun isToDeviceTransport(): Boolean
Link copied to clipboard
abstract suspend fun shortCodeDoesNotMatch()
Link copied to clipboard
abstract fun state(): SasTransactionState
Link copied to clipboard
abstract suspend fun userHasVerifiedShortCode()

To be called by the client when the user has verified that both short codes do match.

Properties

Link copied to clipboard
abstract val isIncoming: Boolean
Link copied to clipboard
abstract val method: VerificationMethod
Link copied to clipboard
abstract val otherDeviceId: String?
Link copied to clipboard
abstract val otherUserId: String
Link copied to clipboard
abstract val transactionId: String