国际短信接口 定义一个Java手机接口,打电话,接电话,发短信,接受短信的功能?
定义一个Java手机接口,打电话,接电话,发短信,接受短信的功能?
Public interface calling{
/*
*
]*@param calledphoneno calling number
*@param calledphoneno called number
*@return返回调用成功失败ID
*/
Public int calling in(string callphoneno,string calledphoneno)
/*
]*
*@param calledphoneno called number
*@param calledphoneno calling number
*@Return Return to call success failure ID
*/
public int callout(string calledphoneno,string callphoneno)
/*
*@param calledphoneno receive SMS number
*@param callphoneno sendSMS number
*@param content SMS content
*@return to send SMS success id
*/
public int sendmsg(字符串calledphoneno,字符串callphoneno,字符串内容)
/*
*
]*@param calledphoneno send SMS number
*@param calledphoneno receive SMS number
*@param Content
*@return receive SMS success identification
*备注:实际上,您不能使用此接口。要发送短信息,您需要将短信息保存到短信息发送表,然后有一个进程实时扫描数据,然后发送
*/
public int recivemsg(string callPhoneNo,string calledPhoneNo,string content)
}
版权声明:本文内容由互联网用户自发贡献,本站不承担相关法律责任.如有侵权/违法内容,本站将立刻删除。