Agora Java API Reference for Android
Classes | Public Attributes | List of all members
io.agora.rtc2.internal.EncryptionConfig Class Reference

Classes

enum  EncryptionMode
 

Public Attributes

EncryptionMode encryptionMode
 
String encryptionKey
 

Detailed Description

Definition of EncryptionConfig.

Member Data Documentation

◆ encryptionMode

EncryptionMode io.agora.rtc2.internal.EncryptionConfig.encryptionMode

Encryption mode. The default encryption mode is AES_128_XTS. See EncryptionMode.

◆ encryptionKey

String io.agora.rtc2.internal.EncryptionConfig.encryptionKey

Encryption key in string type.

Note
If you do not set an encryption key or set it as null, you cannot use the built-in encryption, and the SDK returns ERR_INVALID_ARGUMENT(-2).