public class VoiceMessageBody extends FileMessageBody
VoiceMessageBody body = new VoiceMessageBody(voiceFile, length);
限定符和类型 | 字段和说明 |
---|---|
static <any> |
CREATOR |
downloadCallback, downloaded
构造器和说明 |
---|
VoiceMessageBody(java.io.File voiceFile,
int length)
创建一个语音附加的消息体
|
限定符和类型 | 方法和说明 |
---|---|
int |
describeContents() |
int |
getLength()
获得语音文件的长度 (单位是秒)
|
java.lang.String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
getFileName, getLocalUrl, getRemoteUrl, getSecret, setDownloadCallback, setFileName, setLocalUrl, setRemoteUrl, setSecret
Copyright © 2014 EaseMob.com. All Rights Reserved.