【发布时间】:2017-03-09 11:05:19
【问题描述】:
我尝试为 ANH .NET SDK 实现 DirectSend。
NotificationHubClient.SendDirectNotificationAsync(Notification notification, string deviceHandle);
我想知道使用这个 Notification 对象的最佳方式是什么?与 ANH 客户端上存在的所有 SendNative 调用不同,在任何地方都没有关于此的文档。
抽象的Notification类的构造函数
public Notification(Dictionary<string, string> additionalHeaders, string tag);
我需要包含哪些标题?目前我没有
它必须包含一个标签吗?我不打算在我的集线器上使用安装或注册,所以无论如何我都不会使用任何标签?
我假设我需要创建自己的具体通知类型并设置此对象的所有其他属性,例如 PlatformType、ContentType 等?
【问题讨论】:
标签: ios azure notifications azure-notificationhub