Class RoomEncryptedContent

    • Field Detail

      • senderKey

        private String senderKey
        Required. The Curve25519 key of the sender.
      • deviceId

        private String deviceId
        The ID of the sending device. Required with Megolm.
      • sessionId

        private String sessionId
        The ID of the session used to encrypt the message. Required with Megolm.
    • Constructor Detail

      • RoomEncryptedContent

        public RoomEncryptedContent()
    • Method Detail

      • getAlgorithm

        public abstract String getAlgorithm()
        Required. The encryption algorithm used to encrypt this event. The value of this field determines which other properties will be present. One of: ["m.olm.v1.curve25519-aes-sha2", "m.megolm.v1.aes-sha2"].
        Returns:
        algorithm.
      • getSenderKey

        public String getSenderKey()
      • setSenderKey

        public void setSenderKey​(String senderKey)
      • getDeviceId

        public String getDeviceId()
      • setDeviceId

        public void setDeviceId​(String deviceId)
      • getSessionId

        public String getSessionId()
      • setSessionId

        public void setSessionId​(String sessionId)