MegolmRoomEventDecryptionService

class MegolmRoomEventDecryptionService(olmCryptoStore: OlmCryptoStore, keyBackupService: KeyBackupService, outgoingRoomKeyRequestEventHandler: OutgoingRoomKeyRequestEventHandler, olmEncryptionService: OlmEncryptionService) : RoomEventDecryptionService

Constructors

Link copied to clipboard
constructor(olmCryptoStore: OlmCryptoStore, keyBackupService: KeyBackupService, outgoingRoomKeyRequestEventHandler: OutgoingRoomKeyRequestEventHandler, olmEncryptionService: OlmEncryptionService)

Functions

Link copied to clipboard
open suspend override fun decrypt(event: Event.RoomEvent<*>): Result<RoomEventContent>?

Decrypts given event. Returns null, when encryption algorithm is not supported by this service.