zoukankan      html  css  js  c++  java
  • Java调用RTX的API发送消息提醒

    import rtx.RTXSvrApi;//导入RTXAPI类。
    public class RTXMSGDemo{
      public static void main(String[] args) {
        String receiver = "";//接收者RTX账号
        String title = "";//消息标题
        String msgType = "";//消息类型,0|1,紧急或者一般
        String smInfo = "";//消息内容
        RTXSvrApi RtxsvrapiObj = new RTXSvrApi();//加载RTX.dll,需要将RTXSDK相关文件放入Path。SDKAPIJava.dll,SKDAPI.dll,SDKAPIC.lib,SDKAPIC.dll,SDKAPIC.h,RTXParser.dll,Crypt.dll,RtxServerApi.ini
        if (RtxsvrapiObj.Init()) {
          RtxsvrapiObj.Notify(receiver, smInfo, msgType,title);//发送消息提醒
          RtxsvrapiObj.UnInit();
        }
      }
    }
    
  • 相关阅读:
    Task Schedule
    Number Game
    CDQ分治
    Friends and Subsequences
    HDU5266 pog loves szh III
    P1593 因子和
    求一个数的欧拉函数的优化
    Grandpa's Estate POJ
    LightOJ
    Paint The Wall HDU
  • 原文地址:https://www.cnblogs.com/rocker/p/1661599.html
Copyright © 2011-2022 走看看