hyphenate_SDK4.0 4.8.0
hyphenate java IM SDK
Public Member Functions | List of all members
com.hyphenate.chat.EMMucSharedFile Class Reference

Inherits com.hyphenate.chat.EMBase< T >.

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

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: