根据这个视频(时间 9:40 和 12:50 之间)
https://youtu.be/GwoAjG_tgGQ?t=9m40s
演示者在第 1 步中解释了如何获取频道 uri。然后第 2 步是如何注册云服务。但是,我不清楚他所描述的将用户的频道 uri 与某些上下文相关联的场景。
例如,假设用户想要接收特定新闻文章的通知警报,那么在将频道 uri 发送到云服务之后,您如何将其与上下文(即特定用户希望收到通知的新闻文章)结合起来?
我在想 - 你可以将频道 URI 连同设置一起发送到云服务 - 像这样
{
channelURI: uri,
notificationSettings: {whatever setting options user entered in the app settings go hers - that the cloud service understands to deliver notification to this Uri}
}