Type Alias CryptoEventHandlerMap
CryptoEventHandlerMap: CryptoEventHandlerMap & { crypto.keySignatureUploadFailure: ((failures: IUploadKeySignaturesResponse["failures"],
source: "checkOwnCrossSigningTrust" | "afterCrossSigningLocalKeyChange" | "setDeviceVerification",
upload: ((opts: { shouldEmit: boolean; }) => Promise<void>)) => void); crypto.legacyCryptoStoreMigrationProgress: ((progress: number,
total: number) => void); crypto.roomKeyRequest: ((request: IncomingRoomKeyRequest) => void); crypto.roomKeyRequestCancellation: ((request: IncomingRoomKeyRequestCancellation) => void); crypto.verification.request: ((request: VerificationRequest<any>) => void); crypto.warning: ((type: string) => void); deviceVerificationChanged: ((userId: string,
deviceId: string,
deviceInfo: DeviceInfo) => void); userCrossSigningUpdated: ((userId: string) => void); } Type declaration
crypto.keySignatureUploadFailure: ((failures: IUploadKeySignaturesResponse["failures"], source: "checkOwnCrossSigningTrust" | "afterCrossSigningLocalKeyChange" | "setDeviceVerification", upload: ((opts: {
shouldEmit: boolean;
}) => Promise<void>)) => void)
- (failures, source, upload): void
Parameters
- failures: IUploadKeySignaturesResponse["failures"]
- source: "checkOwnCrossSigningTrust" | "afterCrossSigningLocalKeyChange" | "setDeviceVerification"
- upload: ((opts: {
shouldEmit: boolean;
}) => Promise<void>)- (opts): Promise<void>
Parameters
- opts: {
shouldEmit: boolean;
}
Returns void
crypto.legacyCryptoStoreMigrationProgress: ((progress: number, total: number) => void)
- (progress, total): void
Parameters
- progress: number
- total: number
Returns void
- (request): void
Returns void
- (request): void
Returns void
crypto.verification.request: ((request: VerificationRequest<any>) => void)
- (request): void
Returns void
crypto.warning: ((type: string) => void)
deviceVerificationChanged: ((userId: string, deviceId: string, deviceInfo: DeviceInfo) => void)
- (userId, deviceId, deviceInfo): void
Parameters
- userId: string
- deviceId: string
- deviceInfo: DeviceInfo
Returns void
userCrossSigningUpdated: ((userId: string) => void)
- (userId): void
Returns void
Fires when we receive a room key request