hyphenate_SDK3.0
3.0.1
hyphenatejavaIMSDK
|
Public Member Functions | |
EMVideoMessageBody (EMAVideoMessageBody body) | |
EMVideoMessageBody (String videoFilePath, String thumbPath, int duration, long filelength) | |
String | getThumbnailUrl () |
void | setThumbnailUrl (String thumbnailUrl) |
long | getVideoFileLength () |
void | setVideoFileLength (long filelength) |
void | setLocalThumb (String localThumbPath) |
String | getLocalThumb () |
int | getDuration () |
String | toString () |
int | describeContents () |
void | writeToParcel (Parcel dest, int flags) |
void | setThumbnailSecret (String secret) |
String | getThumbnailSecret () |
EMDownloadStatus | thumbnailDownloadStatus () |
Static Public Attributes | |
static final Parcelable.Creator< EMVideoMessageBody > | CREATOR |
Additional Inherited Members |
the video message body class
EMVideoMessageBody body = new EMVideoMessageBody(videoFilePath,thumbPath, duration,filelength);
com.hyphenate.chat.EMVideoMessageBody.EMVideoMessageBody | ( | String | videoFilePath, |
String | thumbPath, | ||
int | duration, | ||
long | filelength | ||
) |
create a video message body
videoFilePath | the path of the video file |
thumbPath | the path of the video first frame |
duration | video duration,unit s |
filelength | the length of the video file |
int com.hyphenate.chat.EMVideoMessageBody.getDuration | ( | ) |
get the video duration
String com.hyphenate.chat.EMVideoMessageBody.getLocalThumb | ( | ) |
get the local thumbnail
String com.hyphenate.chat.EMVideoMessageBody.getThumbnailUrl | ( | ) |
get the thumbnail url
long com.hyphenate.chat.EMVideoMessageBody.getVideoFileLength | ( | ) |
get the video file length
EMDownloadStatus com.hyphenate.chat.EMVideoMessageBody.thumbnailDownloadStatus | ( | ) |
get the download status of the thumbnail
|
static |