Package cn.jpush.api.receive

Examples of cn.jpush.api.receive.ReceiveResult


    String msgId = "1236722141";
   
    String[] msgIds = {"1236722141","910981248","911034889"};
   
    //获取一条
    ReceiveResult receiveResult =  JPushClient.getReceived(msgId);
    if(receiveResult == null){
      System.out.println("获取receive 数据失败!"+receiveResult);
    }else{
      //gson toJson 之后,NULL值的字段会被过滤掉
      System.out.println("received result:"+receiveResult.toString());
    }
 
 
    // 获取多条
    List<ReceiveResult> receiveResults = JPushClient.getReceiveds(msgIds);
View Full Code Here

TOP

Related Classes of cn.jpush.api.receive.ReceiveResult

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.