agora_chat_SDK  3.8.2
agorajavachatSDK
Public Member Functions | List of all members
io.agora.chat.MucSharedFile Class Reference

Inherits io.agora.chat.EMBase< T >.

Public Member Functions

 MucSharedFile (EMAMucShareFile shareFile)
 
String getFileId ()
 
String getFileName ()
 
String getFileOwner ()
 
long getFileUpdateTime ()
 
long getFileSize ()
 

Detailed Description

Shared file info class Such as, get information about group shared file through GroupManager#fetchGroupSharedFileList(String, int, int):

    List<MucSharedFile> sharedFiles = ChatClient.getInstance().groupManager().fetchGroupSharedFileList(groupId, pageNum, pageSize);

Member Function Documentation

String io.agora.chat.MucSharedFile.getFileId ( )

Get shared file id

Returns
Shared file id
String io.agora.chat.MucSharedFile.getFileName ( )

Get shared file name

Returns
Shared file name
String io.agora.chat.MucSharedFile.getFileOwner ( )

Get username who upload the shared file

Returns
Username who upload the shared file
long io.agora.chat.MucSharedFile.getFileSize ( )

Get the length of shared file, in bytes

Returns
Length of shared file, in bytes
long io.agora.chat.MucSharedFile.getFileUpdateTime ( )

Get the update timestamp of shared file

Returns
Update timestamp of shared file

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