Agora RTC Objective-C API Reference
Refactor
|
Inherits <NSObject>.
Properties | |
AgoraEncryptionMode | encryptionMode |
NSString *_Nullable | encryptionKey |
Configurations of built-in encryption schemas.
|
readwritenonatomicassign |
Encryption mode. The default encryption mode is AgoraEncryptionModeAES128GCM2
. See AgoraEncryptionMode.
|
readwritenonatomiccopy |
Encryption key in string type.
Note**
If you do not set an encryption key or set it as nil
, you cannot use the built-in encryption, and the SDK returns -2
(AgoraErrorCodeInvalidArgument
).
|
readwritenonatomicstrong |