hyphenate_SDK3.0 3.7.6.3
hyphenate java IM SDK
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 com.hyphenate.chat.EMBase< EMAMessageBody >

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)
 
- 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

◆ EMNormalFileMessageBody() [1/2]

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

create a normal file messag body

Parameters
file

◆ EMNormalFileMessageBody() [2/2]

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

create a normal file messag body

Parameters
localPath

Member Function Documentation

◆ getFileSize()

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

get the video file size

Returns

Member Data Documentation

◆ CREATOR

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];
}
}
EMNormalFileMessageBody(File file)
Definition: EMNormalFileMessageBody.java:43

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