Get the index of the emoji representing the short auth string
Returns undefined if we can’t yet present the short auth
string, otherwise seven u8 numbers in the range from 0 to 63
inclusive which can be converted to an emoji using the
relevant specification
entry.
Returns undefined|Uint8Array<ArrayBufferLike>
free
free():void
Returns void
hasBeenAccepted
hasBeenAccepted():boolean
Has the verification been accepted by both parties?
Returns boolean
haveWeConfirmed
haveWeConfirmed():boolean
Have we confirmed that the short auth string matches?
Returns boolean
isCancelled
isCancelled():boolean
Is the SAS flow cancelled?
Returns boolean
isDone
isDone():boolean
Is the SAS flow done?
Returns boolean
isSelfVerification
isSelfVerification():boolean
Is this a verification that is verifying one of our own
devices?
Returns boolean
registerChangesCallback
registerChangesCallback(callback:Function):void
Register a callback which will be called whenever there is an update to
the request.
The callback is called with no parameters.
Parameters
callback: Function
Returns void
startedFromRequest
startedFromRequest():boolean
Did this verification flow start from a verification request?
Returns boolean
supportsEmoji
supportsEmoji():boolean
Does this verification flow support displaying emoji for the
short authentication string?
Returns boolean
timedOut
timedOut():boolean
Has the SAS verification flow timed out?
Returns boolean
weStarted
weStarted():boolean
True if we initiated the verification flow (ie, we sent the
m.key.verification.request).
Short Authentication String (SAS) verification.