Types

Link copied to clipboard

This state is active when another own device accepted the request.

Link copied to clipboard
data class Cancel(val content: VerificationCancelEventContent, val isOurOwn: Boolean) : ActiveVerificationState

This state is active when the verification is cancelled.

Link copied to clipboard

This state is active when the verification is done.

Link copied to clipboard

This state is active when we started the request.

Link copied to clipboard
data class Ready(ownDeviceId: String, val methods: Set<VerificationMethod>, relatesTo: RelatesTo.Reference?, transactionId: String?, send: suspend (VerificationStep) -> Unit) : ActiveVerificationState

This state is active when the request is accepted.

Link copied to clipboard
data class Start(val method: ActiveVerificationMethod, val senderUserId: UserId, val senderDeviceId: String) : ActiveVerificationState

This state is active when the devices agreed on a verification method. It contains a sub-state.

Link copied to clipboard
data class TheirRequest(val content: VerificationRequest, ownDeviceId: String, supportedMethods: Set<VerificationMethod>, relatesTo: RelatesTo.Reference?, transactionId: String?, send: suspend (VerificationStep) -> Unit) : ActiveVerificationState

This state is active when another device or user started the request.

Link copied to clipboard

This state is active when an incoming request was accepted, but the state got missing (e.g. by restarting the App)

Link copied to clipboard
data class WaitForDone(val isOurOwn: Boolean) : ActiveVerificationState

This state is active when one device is done.