hyphenate_SDK4.0 5.0.0
hyphenate java IM SDK
 
Loading...
Searching...
No Matches
com.hyphenate.chat.EMMucSharedFile Class Reference

Public Member Functions

String getFileId ()
 
String getFileName ()
 
String getFileOwner ()
 
long getFileUpdateTime ()
 
long getFileSize ()
 

Detailed Description

The shared file info class.

For example, you can use the following method to get information about the group shared file through EMGroupManager#fetchGroupSharedFileList(String, int, int):

List<EMMucSharedFile> sharedFiles = EMClient.getInstance().groupManager().fetchGroupSharedFileList(groupId, pageNum, pageSize);
Definition EMClient.java:100
List< EMMucSharedFile > fetchGroupSharedFileList(String groupId, int pageNum, int pageSize)
Definition EMGroupManager.java:3890

Member Function Documentation

◆ getFileId()

String com.hyphenate.chat.EMMucSharedFile.getFileId ( )

Gets the shared file ID.

Returns
The shared file ID.

◆ getFileName()

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

Gets the shared file name.

Returns
The shared file name.

◆ getFileOwner()

String com.hyphenate.chat.EMMucSharedFile.getFileOwner ( )

Gets the username who uploads the shared file.

Returns
The username who uploads the shared file.

◆ getFileSize()

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

Gets the data length of the shared file, in bytes.

Returns
The data length of the shared file, in bytes.

◆ getFileUpdateTime()

long com.hyphenate.chat.EMMucSharedFile.getFileUpdateTime ( )

Gets the update Unix timestamp of the shared file, in ms.

Returns
The update Unix timestamp of the shared file, in ms.

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