Inherits agora_rtm.IMessage.
◆ FileMessage() [1/3]
agora_rtm.FileMessage.FileMessage |
( |
IntPtr |
MessagePtr | ) |
|
|
inline |
◆ FileMessage() [2/3]
agora_rtm.FileMessage.FileMessage |
( |
IntPtr |
MessagePtr, |
|
|
MESSAGE_FLAG |
MessageFlag |
|
) |
| |
|
inline |
◆ FileMessage() [3/3]
◆ GetFileName()
string agora_rtm.FileMessage.GetFileName |
( |
| ) |
|
|
inline |
Gets the name of the uploaded file.
- Deprecated:
- This method is deprecated. Agora recommends that you do not use it.
- Returns
- The filename of the uploaded file.
◆ GetMediaId()
string agora_rtm.FileMessage.GetMediaId |
( |
| ) |
|
|
inline |
Gets the media ID of the uploaded file.
- Deprecated:
- This method is deprecated. Agora recommends that you do not use it.
- Note
- The media ID is automatically populated once the file is uploaded to the file server.
- The media ID is valid for 7 days because the file server keeps all uploaded files for 7 days only.
- Returns
- The media ID of the uploaded file.
◆ GetSize()
Int64 agora_rtm.FileMessage.GetSize |
( |
| ) |
|
|
inline |
Gets the size of the uploaded file.
- Deprecated:
- This method is deprecated. Agora recommends that you do not use it.
- Returns
- The size of the uploaded file in bytes.
◆ GetThumbnailData()
byte [] agora_rtm.FileMessage.GetThumbnailData |
( |
| ) |
|
|
inline |
Gets the thumbnail of the uploaded file.
- Deprecated:
- This method is deprecated. Agora recommends that you do not use it.
- Returns
- The thumbnail of the uploaded file.
◆ SetFileName()
void agora_rtm.FileMessage.SetFileName |
( |
string |
fileName | ) |
|
|
inline |
Sets the name of the uploaded file.
- Deprecated:
- This method is deprecated. Agora recommends that you do not use it.
- Parameters
-
fileName | The name of the uploaded file. The total size of thumbnail and fileName must not exceed 32 KB. |
◆ SetThumbnail()
void agora_rtm.FileMessage.SetThumbnail |
( |
byte[] |
thumbnail | ) |
|
|
inline |
Sets the thumbnail of the uploaded file.
- Deprecated:
- This method is deprecated. Agora recommends that you do not use it.
- Parameters
-
thumbnail | The thumbnail of the uploaded file. Must be binary data. The total size of thumbnail and fileName must not exceed 32 KB. |
The documentation for this class was generated from the following file: