agora_chat_SDK  3.8.2
agorajavachatSDK
Static Public Member Functions | List of all members
io.agora.chat.EMEncryptUtils Class Reference

Static Public Member Functions

static String encryptFile (String filePath, String toUserName)
 
static void decryptFile (String filePath, String fromUserName)
 

Member Function Documentation

static void io.agora.chat.EMEncryptUtils.decryptFile ( String  filePath,
String  fromUserName 
)
static

decrypt file, overwrite the original file

Parameters
filePathfile absolute path
fromUserNamethe opposite username
static String io.agora.chat.EMEncryptUtils.encryptFile ( String  filePath,
String  toUserName 
)
static

encrypt file

Parameters
filePathfile absolute path
toUserNamethe opposite username
Returns
return a encypted temp file's path

The documentation for this class was generated from the following file: