matrix-react-sdk
Version:
SDK for matrix.org using React
29 lines (28 loc) • 600 B
TypeScript
/**
* The intention of this enum is to have a mode that scans a QR code instead of generating one.
*/
export declare enum Mode {
/**
* A QR code with be generated and shown
*/
Show = "show"
}
export declare enum Phase {
Loading = 0,
ShowingQR = 1,
OutOfBandConfirmation = 2,
WaitingForDevice = 3,
Verifying = 4,
Error = 5,
/**
* @deprecated the MSC3906 implementation is deprecated in favour of MSC4108.
*/
LegacyConnected = 6
}
export declare enum Click {
Cancel = 0,
Decline = 1,
Approve = 2,
Back = 3,
ShowQr = 4
}