Chat SDK for Unity and Windows v1.2.1
|
Public Member Functions | |
VideoBody (string localPath, string displayName, int duration, long fileSize=0, string thumbnailLocalPath="", double width=0, double height=0) | |
Public Attributes | |
string | ThumbnaiLocationPath |
string | ThumbnailRemotePath |
string | ThumbnailSecret |
DownLoadStatus | ThumbnailDownStatus = DownLoadStatus.PENDING |
double | Height |
double | Width |
int | Duration |
Additional Inherited Members |
The video message body.
AgoraChat.MessageBody.VideoBody.VideoBody | ( | string | localPath, |
string | displayName, | ||
int | duration, | ||
long | fileSize = 0 , |
||
string | thumbnailLocalPath = "" , |
||
double | width = 0 , |
||
double | height = 0 |
||
) |
The video message body constructor.
localPath | The local path of the video message. |
displayName | The display name of the video file. |
duration | The video duration in seconds. |
fileSize | The size of the video file, in bytes. |
thumbnailLocalPath | The local path of the video thumbnail. |
width | The video width in pixels. |
Height | The video height in pixels. |
string AgoraChat.MessageBody.VideoBody.ThumbnaiLocationPath |
The local path of the video thumbnail.
string AgoraChat.MessageBody.VideoBody.ThumbnailRemotePath |
The URL of the video thumbnail.
string AgoraChat.MessageBody.VideoBody.ThumbnailSecret |
The secret for downloading the thumbnail.
DownLoadStatus AgoraChat.MessageBody.VideoBody.ThumbnailDownStatus = DownLoadStatus.PENDING |
The status for downloading the thumbnail.
double AgoraChat.MessageBody.VideoBody.Height |
The height and width of the video, in pixels.
int AgoraChat.MessageBody.VideoBody.Duration |
The video duration in seconds.