Class AndroidRemoteNotification
A Remote Notification message that is sent to an Android device.
Implements
Inherited Members
Namespace: Google.Apis.FirebaseCloudMessaging.v1.Data
Assembly: Google.Apis.FirebaseCloudMessaging.v1.dll
Syntax
public class AndroidRemoteNotification : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MutableContent
Optional. If set to true, the notification content can be updated by the app after the notification is received on the device.
Declaration
[JsonProperty("mutableContent")]
public virtual bool? MutableContent { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Notification
Optional. Notification to send to android devices.
Declaration
[JsonProperty("notification")]
public virtual AndroidNotificationV2 Notification { get; set; }
Property Value
| Type | Description |
|---|---|
| AndroidNotificationV2 |
UseAsV1DataMessage
Optional. If set to true, this RemoteNotification message will be delivered to legacy V1 clients as data messages by omitting the google.firebase.fcm.v1.Message.android_v2.remote_notification.notification. This should only be enabled when migration from legacy V1 data messages. Note that by default (when set to false), RemoteNotification messages are automatically translated to V1 notification message for legacy clients;
Declaration
[JsonProperty("useAsV1DataMessage")]
public virtual bool? UseAsV1DataMessage { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |