hyphenate_SDK3.0  3.8.5
hyphenatejavaIMSDK
Public Member Functions | Static Public Attributes | List of all members
com.hyphenate.chat.EMNormalFileMessageBody Class Reference
Inheritance diagram for com.hyphenate.chat.EMNormalFileMessageBody:
com.hyphenate.chat.EMFileMessageBody com.hyphenate.chat.EMMessageBody

Public Member Functions

 EMNormalFileMessageBody (File file)
 
 EMNormalFileMessageBody (Uri localPath)
 
int describeContents ()
 
void writeToParcel (Parcel dest, int flags)
 
String toString ()
 
long getFileSize ()
 
- Public Member Functions inherited from com.hyphenate.chat.EMFileMessageBody
 EMFileMessageBody (String localPath)
 
 EMFileMessageBody (Uri localPath)
 
 EMFileMessageBody (EMAFileMessageBody body)
 
String getFileName ()
 
void setFileName (String fileName)
 
String getLocalUrl ()
 
void setLocalUrl (String localUrl)
 
Uri getLocalUri ()
 
void setLocalUrl (Uri 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)
 

Static Public Attributes

static final Parcelable.Creator< EMNormalFileMessageBodyCREATOR
 

Detailed Description

Normal file message body

Constructor & Destructor Documentation

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

Create a normal file message body

Parameters
file
com.hyphenate.chat.EMNormalFileMessageBody.EMNormalFileMessageBody ( Uri  localPath)

Create a normal file message body

Parameters
localPathThe file Uri

Member Function Documentation

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

Get the normal file size

Returns
File length

Member Data Documentation

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

The documentation for this class was generated from the following file: