hyphenate_SDK3.0 4.0.0
hyphenate java IM SDK
|
Public Member Functions | |
EMNormalFileMessageBody (File file) | |
EMNormalFileMessageBody (Uri localPath) | |
int | describeContents () |
void | writeToParcel (Parcel dest, int flags) |
String | toString () |
long | getFileSize () |
Static Public Attributes | |
static final Parcelable.Creator< EMNormalFileMessageBody > | CREATOR |
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.
|
static |