agora_chat_SDK 1.0.6
agora java chat SDK
|
Public 成员函数 | |
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) |
静态 Public 属性 | |
static final Parcelable.Creator< VoiceMessageBody > | CREATOR |
语音消息体。
io.agora.chat.VoiceMessageBody.VoiceMessageBody | ( | File | voiceFile, |
int | duration | ||
) |
创建语音消息体。
voiceFile | 语音文件路径。 |
duration | 语音时长,单位为秒。 |
io.agora.chat.VoiceMessageBody.VoiceMessageBody | ( | Uri | voiceFile, |
int | duration | ||
) |
创建语音消息体。
voiceFile | 语音文件的资源标识符。 |
duration | 语音时长,单位为秒。 |
long io.agora.chat.VoiceMessageBody.getFileSize | ( | ) |
获取语音文件的大小。
int io.agora.chat.VoiceMessageBody.getLength | ( | ) |
获得语音时长。
|
static |