Udostępnij za pośrednictwem


FcmNotification Constructors

Definition

Overloads

FcmNotification(String)

Initializes a new instance of the FcmNotification class.

FcmNotification(String, String)
Obsolete.

Initializes a new instance of the FcmNotification class.

FcmNotification(String)

Initializes a new instance of the FcmNotification class.

public FcmNotification (string jsonPayload);
new Microsoft.Azure.NotificationHubs.FcmNotification : string -> Microsoft.Azure.NotificationHubs.FcmNotification
Public Sub New (jsonPayload As String)

Parameters

jsonPayload
String

The JSON payload.

Applies to

FcmNotification(String, String)

Caution

This method is obsolete.

Initializes a new instance of the FcmNotification class.

[System.Obsolete("This method is obsolete.")]
public FcmNotification (string jsonPayload, string tag);
[<System.Obsolete("This method is obsolete.")>]
new Microsoft.Azure.NotificationHubs.FcmNotification : string * string -> Microsoft.Azure.NotificationHubs.FcmNotification
Public Sub New (jsonPayload As String, tag As String)

Parameters

jsonPayload
String

The JSON payload.

tag
String

The notification tag.

Attributes

Applies to