encryption

val encryption: E2EEOptions? = null

End-to-end encryption options. Use the convenience constructor for E2EEOptions to enable simple encryption with a shared key.

val options = SessionOptions(encryption = E2EEOptions(sharedKey = "your-shared-key"))

Ignored when room is non-null; configure E2EE on that Room as needed.

If null is passed, encryption is disabled for the session.