hyphenate_SDK3.0  3.5.6
hyphenatejavaIMSDK
Public Member Functions | Static Public Attributes | List of all members
com.hyphenate.chat.EMNormalFileMessageBody Class Reference
Inheritance diagram for com.hyphenate.chat.EMNormalFileMessageBody:
Inheritance graph
[legend]
Collaboration diagram for com.hyphenate.chat.EMNormalFileMessageBody:
Collaboration graph
[legend]

Public Member Functions

 EMNormalFileMessageBody (File file)
 
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 (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 Member Functions inherited from com.hyphenate.chat.EMBase< EMAMessageBody >
boolean equals (Object o)
 
int hashCode ()
 

Static Public Attributes

static final Parcelable.Creator< EMNormalFileMessageBodyCREATOR
 

Additional Inherited Members

- Protected Attributes inherited from com.hyphenate.chat.EMBase< EMAMessageBody >
emaObject
 

Detailed Description

the normal file messag body class

Constructor & Destructor Documentation

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

create a normal file messag body

Parameters
file

Member Function Documentation

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

get the video file size

Returns

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: