Package cn.jpush.api.report

Examples of cn.jpush.api.report.ReceivedsResult$Received


    }
  }
 
  public static void testGetReport() {
        JPushClient jpushClient = new JPushClient(masterSecret, appKey);
    ReceivedsResult receivedsResult = jpushClient.getReportReceiveds("1708010723,1774452771");
        LOG.debug("responseContent - " + receivedsResult.responseResult.responseContent);
    if (receivedsResult.isResultOK()) {
        LOG.info("Receiveds - " + receivedsResult);
    } else {
            if (receivedsResult.getErrorCode() > 0) {
                // 业务异常
                LOG.warn("Service error - ErrorCode: "
                        + receivedsResult.getErrorCode() + ", ErrorMessage: "
                        + receivedsResult.getErrorMessage());
            } else {
                // 未到达 JPush
                LOG.error("Other excepitons - "
                        + receivedsResult.responseResult.exceptionString);
            }
View Full Code Here


  }
 
   
  public static void testGetReport() {
        JPushClient jpushClient = new JPushClient(masterSecret, appKey);
    ReceivedsResult receivedsResult = jpushClient.getReportReceiveds("1708010723,1774452771");
        LOG.debug("responseContent - " + receivedsResult.getOriginalContent());
    if (receivedsResult.isResultOK()) {
        LOG.info("Receiveds - " + receivedsResult);
    } else {
            if (receivedsResult.getErrorCode() > 0) {
                // 业务异常
                LOG.warn("Service error - ErrorCode: "
                        + receivedsResult.getErrorCode() + ", ErrorMessage: "
                        + receivedsResult.getErrorMessage());
            } else {
                // 未到达 JPush
                LOG.error("Other excepitons - "
                        + receivedsResult.getExceptionString());
            }
    }
  }
View Full Code Here

TOP

Related Classes of cn.jpush.api.report.ReceivedsResult$Received

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.