QrCodeVerificationTransaction

interface QrCodeVerificationTransaction : VerificationTransaction

Functions

Link copied to clipboard
abstract suspend fun cancel()

User wants to cancel the transaction.

abstract suspend fun cancel(code: CancelCode)
Link copied to clipboard
open override fun isSuccessful(): Boolean
Link copied to clipboard
abstract fun isToDeviceTransport(): Boolean
Link copied to clipboard
abstract suspend fun otherUserDidNotScannedMyQrCode()

Call when you do not confirm that other user has scanned your QR code.

Link copied to clipboard
abstract suspend fun otherUserScannedMyQrCode()

Call when you confirm that other user has scanned your QR code.

Link copied to clipboard
abstract fun state(): QRCodeVerificationState

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 qrCodeText: String?

To use to display a qr code, for the other user to scan it.

Link copied to clipboard
abstract val transactionId: String