hyphenate_SDK4.0 4.8.0
hyphenate java IM SDK
|
Public Member Functions | |
EMNormalFileMessageBody (File file) | |
EMNormalFileMessageBody (Uri localPath) | |
long | getFileSize () |
The normal file message body.
com.hyphenate.chat.EMNormalFileMessageBody.EMNormalFileMessageBody | ( | File | file | ) |
Creates a file message body by the file.
file | The file instance. |
com.hyphenate.chat.EMNormalFileMessageBody.EMNormalFileMessageBody | ( | Uri | localPath | ) |
Creates a file message body by the file Uri.
localPath | The file Uri. |
long com.hyphenate.chat.EMNormalFileMessageBody.getFileSize | ( | ) |
Gets the size of the file.