Class KeyVerificationCancelContent.CancelCode
- java.lang.Object
-
- io.github.ma1uta.matrix.event.content.KeyVerificationCancelContent.CancelCode
-
- Enclosing class:
- KeyVerificationCancelContent
public static class KeyVerificationCancelContent.CancelCode extends Object
Cancel codes.
-
-
Field Summary
Fields Modifier and Type Field Description static String
M_ACCEPTED
A m.key.verification.request was accepted by a different device.static String
M_INVALID_MESSAGE
The message received was invalid.static String
M_KEY_MISMATCH
The key was not verified.static String
M_TIMEOUT
The verification process timed out.static String
M_UNEXPECTED_MESSAGE
The device received an unexpected message.static String
M_UNKNOWN_METHOD
The device does not know how to handle the requested method.static String
M_UNKNOWN_TRANSACTION
The device does not know about the given transaction ID.static String
M_USER
The user cancelled the verification.static String
M_USER_MISMATCH
The expected user did not match the user verified.
-
Constructor Summary
Constructors Modifier Constructor Description protected
CancelCode()
-
-
-
Field Detail
-
M_USER
public static final String M_USER
The user cancelled the verification.- See Also:
- Constant Field Values
-
M_TIMEOUT
public static final String M_TIMEOUT
The verification process timed out. Verification processes can define their own timeout parameters.- See Also:
- Constant Field Values
-
M_UNKNOWN_TRANSACTION
public static final String M_UNKNOWN_TRANSACTION
The device does not know about the given transaction ID.- See Also:
- Constant Field Values
-
M_UNKNOWN_METHOD
public static final String M_UNKNOWN_METHOD
The device does not know how to handle the requested method. This should be sent for m.key.verification.start messages and messages defined by individual verification processes.- See Also:
- Constant Field Values
-
M_UNEXPECTED_MESSAGE
public static final String M_UNEXPECTED_MESSAGE
The device received an unexpected message. Typically raised when one of the parties is handling the verification out of order.- See Also:
- Constant Field Values
-
M_KEY_MISMATCH
public static final String M_KEY_MISMATCH
The key was not verified.- See Also:
- Constant Field Values
-
M_USER_MISMATCH
public static final String M_USER_MISMATCH
The expected user did not match the user verified.- See Also:
- Constant Field Values
-
M_INVALID_MESSAGE
public static final String M_INVALID_MESSAGE
The message received was invalid.- See Also:
- Constant Field Values
-
M_ACCEPTED
public static final String M_ACCEPTED
A m.key.verification.request was accepted by a different device. The device receiving this error can ignore the verification request.- See Also:
- Constant Field Values
-
-