|
static String | encryptFile (String filePath, String toUserName) |
|
static void | decryptFile (String filePath, String fromUserName) |
|
◆ decryptFile()
static void com.hyphenate.chat.EMEncryptUtils.decryptFile |
( |
String |
filePath, |
|
|
String |
fromUserName |
|
) |
| |
|
static |
Decrypts the attachment file, the action will overwrite the original file.
- Parameters
-
filePath | The attachment file's absolute path. |
fromUserName | The username of the message sender. |
◆ encryptFile()
static String com.hyphenate.chat.EMEncryptUtils.encryptFile |
( |
String |
filePath, |
|
|
String |
toUserName |
|
) |
| |
|
static |
Encrypts the attachment file.
- Parameters
-
filePath | The absolute path of the attachment file. |
toUserName | The user ID of the message receiver. |
- Returns
- Returns a encrypted file's temporary path.
The documentation for this class was generated from the following file:
- com/hyphenate/chat/EMEncryptUtils.java