Package com.foxinmy.weixin4j.message
Class VoiceMessage
- java.lang.Object
-
- com.foxinmy.weixin4j.request.WeixinMessage
-
- com.foxinmy.weixin4j.message.VoiceMessage
-
- All Implemented Interfaces:
Serializable
public class VoiceMessage extends WeixinMessage
语音消息开通语音识别功能,用户每次发送语音给公众号时,微信会在推送的语音消息XML数据包中,赋值到Recongnition字段.
- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
- 订阅号、服务号的语音消息, 企业号的语音消息, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VoiceMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFormat()
String
getMediaId()
String
getRecognition()
String
toString()
-
Methods inherited from class com.foxinmy.weixin4j.request.WeixinMessage
equals, getAgentId, getCreateTime, getFormatCreateTime, getFormatMsgType, getFromUserName, getMsgId, getMsgType, getToUserName, hashCode
-
-