hyphenate_SDK3.0  3.6.0
hyphenatejavaIMSDK
Public 成员函数 | 静态 Public 属性 | 所有成员列表
com.hyphenate.chat.EMNormalFileMessageBody类 参考
类 com.hyphenate.chat.EMNormalFileMessageBody 继承关系图:
Inheritance graph
[图例]
com.hyphenate.chat.EMNormalFileMessageBody 的协作图:
Collaboration graph
[图例]

Public 成员函数

 EMNormalFileMessageBody (File file)
 
int describeContents ()
 
void writeToParcel (Parcel dest, int flags)
 
String toString ()
 
long getFileSize ()
 
- Public 成员函数 继承自 com.hyphenate.chat.EMFileMessageBody
 EMFileMessageBody (String localPath)
 
 EMFileMessageBody (EMAFileMessageBody body)
 
String getFileName ()
 
void setFileName (String fileName)
 
String getLocalUrl ()
 
void setLocalUrl (String localUrl)
 
String getRemoteUrl ()
 
void setRemoteUrl (String remoteUrl)
 
void setSecret (String secret)
 
String getSecret ()
 
String displayName ()
 
void setFileLength (long length)
 
EMDownloadStatus downloadStatus ()
 
void setDownloadStatus (EMDownloadStatus status)
 
- Public 成员函数 继承自 com.hyphenate.chat.EMBase< EMAMessageBody >
boolean equals (Object o)
 
int hashCode ()
 

静态 Public 属性

static final Parcelable.Creator< EMNormalFileMessageBodyCREATOR
 

额外继承的成员函数

- Protected 属性 继承自 com.hyphenate.chat.EMBase< EMAMessageBody >
emaObject
 

详细描述

普通文件消息体

构造及析构函数说明

com.hyphenate.chat.EMNormalFileMessageBody.EMNormalFileMessageBody ( File  file)

构造一个文件消息体

参数
file

成员函数说明

long com.hyphenate.chat.EMNormalFileMessageBody.getFileSize ( )

获取文件大小

返回

类成员变量说明

final Parcelable.Creator<EMNormalFileMessageBody> com.hyphenate.chat.EMNormalFileMessageBody.CREATOR
static
初始值:
= new Parcelable.Creator<EMNormalFileMessageBody>() {
public EMNormalFileMessageBody createFromParcel(Parcel in) {
return new EMNormalFileMessageBody(in);
}
public EMNormalFileMessageBody[] newArray(int size) {
return new EMNormalFileMessageBody[size];
}
}

该类的文档由以下文件生成: