Examples of PushClient


Examples of cn.jpush.api.push.PushClient

   *
   * @param masterSecret API access secret of the appKey.
   * @param appKey The KEY of one application on JPush.
   */
  public JPushClient(String masterSecret, String appKey) {
      _pushClient = new PushClient(masterSecret, appKey);
      _reportClient = new ReportClient(masterSecret, appKey);
  }
View Full Code Here

Examples of cn.jpush.api.push.PushClient

      _pushClient = new PushClient(masterSecret, appKey);
      _reportClient = new ReportClient(masterSecret, appKey);
  }
 
  public JPushClient(String masterSecret, String appKey, int maxRetryTimes) {
        _pushClient = new PushClient(masterSecret, appKey, maxRetryTimes);
        _reportClient = new ReportClient(masterSecret, appKey, maxRetryTimes);     
  }
View Full Code Here

Examples of cn.jpush.api.push.PushClient

        _pushClient = new PushClient(masterSecret, appKey, maxRetryTimes);
        _reportClient = new ReportClient(masterSecret, appKey, maxRetryTimes);     
  }
 
    public JPushClient(String masterSecret, String appKey, int maxRetryTimes, HttpProxy proxy) {
        _pushClient = new PushClient(masterSecret, appKey, maxRetryTimes, proxy);
        _reportClient = new ReportClient(masterSecret, appKey, maxRetryTimes, proxy);     
    }
View Full Code Here

Examples of cn.jpush.api.push.PushClient

   * @param appKey The KEY of one application on JPush.
   * @param apnsProduction Global APNs environment setting. It will override PushPayload Options.
   * @param timeToLive Global time_to_live setting. It will override PushPayload Options.
   */
    public JPushClient(String masterSecret, String appKey, boolean apnsProduction, long timeToLive) {
        _pushClient = new PushClient(masterSecret, appKey, apnsProduction, timeToLive);
        _reportClient = new ReportClient(masterSecret, appKey);
    }
View Full Code Here

Examples of cn.jpush.api.push.PushClient

   *
   * @param masterSecret API access secret of the appKey.
   * @param appKey The KEY of one application on JPush.
   */
  public JPushClient(String masterSecret, String appKey) {
      _pushClient = new PushClient(masterSecret, appKey);
      _reportClient = new ReportClient(masterSecret, appKey);
  }
View Full Code Here

Examples of cn.jpush.api.push.PushClient

   * @param appKey The KEY of one application on JPush.
   * @param apnsProduction Overall APNs environment setting. It will override PushPayload Optional.
   * @param timeToLive Overall time_to_live setting. It will override PushPayload Optional.
   */
    public JPushClient(String masterSecret, String appKey, boolean apnsProduction, long timeToLive) {
        _pushClient = new PushClient(masterSecret, appKey, apnsProduction, timeToLive);
        _reportClient = new ReportClient(masterSecret, appKey);
    }
View Full Code Here

Examples of cn.jpush.api.push.PushClient

   * @param timeToLive The off-line message live time long.
   * @param device The target device of the push. If null will send to all platforms.
   * @param apnsProduction If iOS push which environment should be use for sending APNs.
   */
  public JPushClient(String masterSecret, String appKey, long timeToLive, DeviceEnum device, boolean apnsProduction) {
      _pushClient = new PushClient(masterSecret, appKey, timeToLive, device, apnsProduction);
      _reportClient = new ReportClient(masterSecret, appKey);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.