/*
  * @description 发送带TAG的通知
  * @return MessageResult
  */
 public MessageResult sendNotificationWithTag(
     int sendNo, String tag, String msgTitle, String msgContent) {
   NotifyMessageParams p = new NotifyMessageParams();
   p.setReceiverType(ReceiverTypeEnum.TAG);
   p.setReceiverValue(tag);
   return sendNotification(p, sendNo, msgTitle, msgContent, 0, null);
 }
 /*
  * @description 发送带ALIAS的通知
  * @return MessageResult
  */
 public MessageResult sendNotificationWithAlias(
     int sendNo, String alias, String msgTitle, String msgContent) {
   NotifyMessageParams p = new NotifyMessageParams();
   p.setReceiverType(ReceiverTypeEnum.ALIAS);
   p.setReceiverValue(alias);
   return sendNotification(p, sendNo, msgTitle, msgContent, 0, null);
 }
 /*
  * @params builderId通知栏样式
  * @description 发送带TAG的通知
  * @return MessageResult
  */
 public MessageResult sendNotificationWithTag(
     int sendNo,
     String tag,
     String msgTitle,
     String msgContent,
     int builderId,
     Map<String, Object> extra) {
   NotifyMessageParams p = new NotifyMessageParams();
   p.setReceiverType(ReceiverTypeEnum.TAG);
   p.setReceiverValue(tag);
   return sendNotification(p, sendNo, msgTitle, msgContent, builderId, extra);
 }
 protected MessageResult sendNotification(
     NotifyMessageParams p,
     int sendNo,
     String msgTitle,
     String msgContent,
     int builderId,
     Map<String, Object> extra) {
   p.getMsgContent().setBuilderId(builderId);
   if (null != extra) {
     p.getMsgContent().setExtra(extra);
   }
   return sendMessage(p, sendNo, msgTitle, msgContent);
 }
  /*
   * @params overrideMsgId 待覆盖的上一条消息的 ID
   * @params builderId通知栏样式
   * @description 发送带AppKey的通知
   * @return MessageResult
   */
  public MessageResult sendNotificationWithAppKey(
      int sendNo,
      String msgTitle,
      String msgContent,
      int builderId,
      Map<String, Object> extra,
      String overrideMsgId) {
    NotifyMessageParams p = new NotifyMessageParams();
    p.setReceiverType(ReceiverTypeEnum.APPKEYS);
    p.setOverrideMsgId(overrideMsgId);

    return sendNotification(p, sendNo, msgTitle, msgContent, builderId, extra);
  }
 /*
  * @description 发送带AppKey的通知
  * @return MessageResult
  */
 public MessageResult sendNotificationWithAppKey(int sendNo, String msgTitle, String msgContent) {
   NotifyMessageParams p = new NotifyMessageParams();
   p.setReceiverType(ReceiverTypeEnum.APPKEYS);
   return sendNotification(p, sendNo, msgTitle, msgContent, 0, null);
 }