setEncryptionEnabled

abstract fun setEncryptionEnabled(enabled: Boolean)

Enables/disables encryption.

Requires that encryption was configured by setting SessionOptions.encryption when creating the session. Otherwise this is a no-op.