hyphenate_SDK3.0 3.7.6.3
hyphenate java IM SDK
Classes | Public Member Functions | List of all members
com.hyphenate.chat.EMFileMessageBody Class Referenceabstract
Inheritance diagram for com.hyphenate.chat.EMFileMessageBody:
com.hyphenate.chat.EMMessageBody com.hyphenate.chat.EMBase< EMAMessageBody > com.hyphenate.chat.EMImageMessageBody com.hyphenate.chat.EMNormalFileMessageBody com.hyphenate.chat.EMVideoMessageBody com.hyphenate.chat.EMVoiceMessageBody

Classes

enum  EMDownloadStatus
 

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

the base class of file type message

Constructor & Destructor Documentation

◆ EMFileMessageBody()

com.hyphenate.chat.EMFileMessageBody.EMFileMessageBody ( String  localPath)
Parameters
localPath

Member Function Documentation

◆ getFileName()

String com.hyphenate.chat.EMFileMessageBody.getFileName ( )

get file name

Returns

Reimplemented in com.hyphenate.chat.EMImageMessageBody.

◆ getLocalUri()

Uri com.hyphenate.chat.EMFileMessageBody.getLocalUri ( )

local file path

◆ getLocalUrl()

String com.hyphenate.chat.EMFileMessageBody.getLocalUrl ( )

local file path or the String style of Uri

Returns

◆ getRemoteUrl()

String com.hyphenate.chat.EMFileMessageBody.getRemoteUrl ( )

get file remote url

Returns

◆ setLocalUrl()

void com.hyphenate.chat.EMFileMessageBody.setLocalUrl ( String  localUrl)
Parameters
localUrl

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