【问题标题】:Azure notification hub: Send notification - Getting the impacted usersAzure 通知中心:发送通知 - 获取受影响的用户
【发布时间】:2018-02-23 08:24:25
【问题描述】:

我正在使用 azure-notificationhubs-java-backend 向 Azure 中心发送通知。我为每个应用程序用户创建了 Azure 标签。业务要求我向多个用户发送通知(这部分已经完成),并报告执行状态,即 Azure 能够传递通知的人,以及所有错过的人(以便可以与这些用户进行其他通信) .我们有这种情况,即并非所有用户都已在 Azure 中注册。以下是我正在拨打的电话:

SyncCallback<NotificationOutcome> callback = new SyncCallback<>();
notificationHub.sendNotificationAsync(templateNotification, recipientTags, callback);
NotificationOutcome outcome = callback.getResult();
// outcome has just the notificationId, and trackingId

任何建议我如何获得成功和失败的标签。或者我可以使用notificationIdtrackingId 拨打其他电话来满足要求。谢谢!

【问题讨论】:

    标签: java azure-notificationhub


    【解决方案1】:

    您可以从每条消息遥测中获取此数据。请参阅下面的博客了解更多信息。

    https://azure.microsoft.com/en-us/blog/retrieve-platform-notification-system-error-details-with-azure-notification-hubs/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-03-03
      • 1970-01-01
      • 2021-06-01
      • 2016-07-31
      • 2016-02-24
      • 2020-08-02
      • 2019-08-25
      • 2022-01-12
      相关资源
      最近更新 更多