Chat SDK for Unity and Windows v1.2.1
|
Public Member Functions | |
VoiceBody (string localPath, string displayName, int duration, long fileSize=0) | |
Public Attributes | |
int | Duration |
Additional Inherited Members |
The voice message body.
AgoraChat.MessageBody.VoiceBody.VoiceBody | ( | string | localPath, |
string | displayName, | ||
int | duration, | ||
long | fileSize = 0 |
||
) |
The voice message body constructor.
localPath | The local path of the voice message. |
displayName | The display name of the voice message. |
duration | The voice duration in seconds. |
fileSize | The size of the voice file, in bytes. |
int AgoraChat.MessageBody.VoiceBody.Duration |
The voice duration in seconds.