你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FcmNotification 类

定义

表示 Firebase Cloud Messaging 通知。

public sealed class FcmNotification : Microsoft.Azure.NotificationHubs.Notification, Microsoft.Azure.NotificationHubs.INativeNotification
type FcmNotification = class
    inherit Notification
    interface INativeNotification
Public NotInheritable Class FcmNotification
Inherits Notification
Implements INativeNotification
继承
FcmNotification
实现

构造函数

FcmNotification(String)

初始化 FcmNotification 类的新实例。

FcmNotification(String, String)
已过时.

初始化 FcmNotification 类的新实例。

属性

Body

获取或设置通知正文。

(继承自 Notification)
ContentType

获取或设置通知内容类型。

(继承自 Notification)
Headers

获取或设置通知标头。

(继承自 Notification)
PlatformType

获取平台的类型。

(继承自 Notification)
Tag
已过时.

获取或设置通知标记。

(继承自 Notification)

方法

AddOrUpdateHeader(String, String)

添加或更新具有给定键和值的标头。

(继承自 Notification)
OnValidateAndPopulateHeaders()

验证并填充标头。

(继承自 Notification)

适用于