Agora Java API Reference for Android
Static Public Member Functions | Public Attributes | List of all members
io.agora.rtm.RtmConstants.RtmEncryptionMode Enum Reference

Static Public Member Functions

static int getValue (RtmEncryptionMode mode)
 

Public Attributes

 NONE =(0)
 
 AES_128_GCM =(1)
 
 AES_256_GCM =(2)
 

Detailed Description

RTM encryption mode.

Member Data Documentation

◆ NONE

io.agora.rtm.RtmConstants.RtmEncryptionMode.NONE =(0)

0: Disable message encryption.

◆ AES_128_GCM

io.agora.rtm.RtmConstants.RtmEncryptionMode.AES_128_GCM =(1)

1: 128-bit AES encryption, GCM mode.

◆ AES_256_GCM

io.agora.rtm.RtmConstants.RtmEncryptionMode.AES_256_GCM =(2)

2: 256-bit AES encryption, GCM mode.