Freigeben über


FcmNotification Klasse

Definition

Stellt eine Firebase Cloud Messaging-Benachrichtigung dar.

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
Vererbung
FcmNotification
Implementiert

Konstruktoren

FcmNotification(String)

Initialisiert eine neue Instanz der FcmNotification-Klasse.

FcmNotification(String, String)
Veraltet.

Initialisiert eine neue Instanz der FcmNotification-Klasse.

Eigenschaften

Body

Ruft den Benachrichtigungstext ab oder legt diese fest.

(Geerbt von Notification)
ContentType

Ruft den Typ des Benachrichtigungsinhalts ab oder legt diese fest.

(Geerbt von Notification)
Headers

Ruft Benachrichtigungsheader ab oder legt diese fest.

(Geerbt von Notification)
PlatformType

Ruft den Typ der Plattform ab.

(Geerbt von Notification)
Tag
Veraltet.

Ruft das Benachrichtigungstag ab oder legt es fest.

(Geerbt von Notification)

Methoden

AddOrUpdateHeader(String, String)

Fügen Sie einen Header mit einem bestimmten Schlüssel und Wert hinzu oder aktualisiert diese.

(Geerbt von Notification)
OnValidateAndPopulateHeaders()

Überprüfen und Auffüllen der Header.

(Geerbt von Notification)

Gilt für: