hyphenate_SDK3.0
3.8.5
hyphenatejavaIMSDK
|
Public 成员函数 | |
EMNormalFileMessageBody (File file) | |
EMNormalFileMessageBody (Uri localPath) | |
int | describeContents () |
void | writeToParcel (Parcel dest, int flags) |
String | toString () |
long | getFileSize () |
静态 Public 属性 | |
static final Parcelable.Creator< EMNormalFileMessageBody > | CREATOR |
普通文件消息体
com.hyphenate.chat.EMNormalFileMessageBody.EMNormalFileMessageBody | ( | File | file | ) |
构造一个普通文件消息体
file | 文件 |
com.hyphenate.chat.EMNormalFileMessageBody.EMNormalFileMessageBody | ( | Uri | localPath | ) |
构造一个普通文件消息体
localPath | 文件的资源标识符(路径) |
long com.hyphenate.chat.EMNormalFileMessageBody.getFileSize | ( | ) |
获取文件大小
|
static |