public class SmsVoiceVerifyCodeSender extends SmsBase
appid, appkey, httpclient| Constructor and Description |
|---|
SmsVoiceVerifyCodeSender(int appid,
String appkey) |
SmsVoiceVerifyCodeSender(int appid,
String appkey,
HTTPClient httpclient) |
| Modifier and Type | Method and Description |
|---|---|
SmsVoiceVerifyCodeSenderResult |
send(String nationCode,
String phoneNumber,
String msg,
int playtimes,
String ext)
发送语音短信
|
handleErrorpublic SmsVoiceVerifyCodeSender(int appid,
String appkey)
public SmsVoiceVerifyCodeSender(int appid,
String appkey,
HTTPClient httpclient)
public SmsVoiceVerifyCodeSenderResult send(String nationCode, String phoneNumber, String msg, int playtimes, String ext) throws HTTPException, org.json.JSONException, IOException
nationCode - 国家码,如 86 为中国phoneNumber - 不带国家码的手机号msg - 消息类型playtimes - 播放次数ext - 服务端原样返回的参数,可填空HTTPException - http status exceptionorg.json.JSONException - json parse exceptionIOException - network problemCopyright © 2018. All rights reserved.