Dela via


FcmNotification Class

Definition

Represents a Firebase Cloud Messaging notification.

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
Inheritance
FcmNotification
Implements

Constructors

FcmNotification(String)

Initializes a new instance of the FcmNotification class.

FcmNotification(String, String)
Obsolete.

Initializes a new instance of the FcmNotification class.

Properties

Body

Gets or sets notification body.

(Inherited from Notification)
ContentType

Gets or sets the type of the notification content.

(Inherited from Notification)
Headers

Gets or sets notification headers.

(Inherited from Notification)
PlatformType

Gets the type of the platform.

(Inherited from Notification)
Tag
Obsolete.

Gets or sets the notification tag.

(Inherited from Notification)

Methods

AddOrUpdateHeader(String, String)

Add or updates a header with a given key and value.

(Inherited from Notification)
OnValidateAndPopulateHeaders()

Validate and populates the headers.

(Inherited from Notification)

Applies to