setEncryptionEnabled method
- bool enabled
Enables or disables end-to-end encryption for the session.
Requires that encryption was configured via SessionOptions (by passing
encryption:) or that the Room was created with E2EEOptions.
Throws LiveKitE2EEException if encryption was not configured.
Implementation
Future<void> setEncryptionEnabled(bool enabled) => room.setE2EEEnabled(enabled);