agora_chat_SDK
3.8.2
agorajavachatSDK
|
Public Member Functions | |
VoiceMessageBody (File voiceFile, int duration) | |
VoiceMessageBody (Uri voiceFile, int duration) | |
VoiceMessageBody (EMAVoiceMessageBody body) | |
int | getLength () |
long | getFileSize () |
String | toString () |
int | describeContents () |
void | writeToParcel (Parcel dest, int flags) |
Static Public Attributes | |
static final Parcelable.Creator< VoiceMessageBody > | CREATOR |
Voice message body
VoiceMessageBody body = new VoiceMessageBody(voiceFile, length);
io.agora.chat.VoiceMessageBody.VoiceMessageBody | ( | File | voiceFile, |
int | duration | ||
) |
Create a voice message body
voiceFile | voice file |
duration | voice clip length, in seconds |
io.agora.chat.VoiceMessageBody.VoiceMessageBody | ( | Uri | voiceFile, |
int | duration | ||
) |
Create a voice message body
voiceFile | Voice uri |
duration | Voice clip length, in seconds |
long io.agora.chat.VoiceMessageBody.getFileSize | ( | ) |
get the video file size
int io.agora.chat.VoiceMessageBody.getLength | ( | ) |
Get the length of the voice file, in seconds
|
static |