VoiceMessage
语音消息对象。
getUrl()
Section titled “getUrl()”定义
public String getUrl()说明
获取语音消息的url。
返回值
String返回语音消息存储的url。
getDuration()
Section titled “getDuration()”定义
public int getDuration()说明
语音消息的时间长度。
返回值
int返回语音消息的时间长度。
getData()
Section titled “getData()”定义
public byte[] getData()说明
发送语音消息的二进制数据。
返回值
byte[]获取发送语音消息的二进制数据。