Indicates the string value to replace format specifiers in body string for localization.
On iOS and tvOS, this corresponds to "loc-args" in APNS payload.
On Android, these are the format arguments for the string resource. For more information, see Formatting strings.
BodyLocalizationKey
stringBodyLocalizationKey
Indicates the key to the body string for localization.
On iOS and tvOS, this corresponds to "loc-key" in APNS payload.
On Android, use the key in the app's string resources when populating this value.
ClickAction
stringClickAction
The action associated with a user click on the notification.
On Android, if this is set, an activity with a matching intent filter is launched when user clicks the notification.
If set on iOS or tvOS, corresponds to category in APNS payload.
Color
stringColor
Indicates color of the icon, expressed in #rrggbb format. Android only.
Icon
stringIcon
Indicates notification icon.
Sets value to myicon for drawable resource myicon.
Sound
stringSound
Indicates a sound to play when the device receives the notification.
Supports default, or the filename of a sound resource bundled in the app.
Android sound files must reside in /res/raw/, while tvOS and iOS sound files can be in the main bundle of the client app or in the Library/Sounds folder of the app’s data container.
Tag
stringTag
Indicates whether each notification results in a new entry in the notification drawer on Android.
If not set, each request creates a new notification. If set, and a notification with the same tag is already being shown, the new notification replaces the existing one in the notification drawer.
Title
stringTitle
Indicates notification title.
This field is not visible on tvOS, iOS phones and tablets.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-24 UTC."],[],[],null,["# Firebase.Messaging.FirebaseNotification Class Reference\n\nFirebase.Messaging.FirebaseNotification\n=======================================\n\nUsed for messages that display a notification.\n\nSummary\n-------\n\nOn android, this requires that the app is using the Play Services client library.\n\n| ### Properties ||\n|---------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Android](#class_firebase_1_1_messaging_1_1_firebase_notification_1a4f06b79abeff95eab2caa2733c4e5883) | [AndroidNotificationParams](/docs/reference/unity/class/firebase/messaging/android-notification-params#class_firebase_1_1_messaging_1_1_android_notification_params) Android-specific data to show. |\n| [Badge](#class_firebase_1_1_messaging_1_1_firebase_notification_1aa57adba311ccd53221036a233bf9bbef) | `string` Indicates the badge on the client app home icon. iOS and tvOS only. |\n| [Body](#class_firebase_1_1_messaging_1_1_firebase_notification_1a6de35365883803c7f64bd8e84efeddb6) | `string` Indicates notification body text. |\n| [BodyLocalizationArgs](#class_firebase_1_1_messaging_1_1_firebase_notification_1aa1952f88e1ca900fda4f1157fdd6260e) | `System.Collections.Generic.IEnumerable\u003c string \u003e` Indicates the string value to replace format specifiers in body string for localization. |\n| [BodyLocalizationKey](#class_firebase_1_1_messaging_1_1_firebase_notification_1a304ed66037b87305df18746ce7f20023) | `string` Indicates the key to the body string for localization. |\n| [ClickAction](#class_firebase_1_1_messaging_1_1_firebase_notification_1a8ac4fdc6fd70a17606181301db3c6ea0) | `string` The action associated with a user click on the notification. |\n| [Color](#class_firebase_1_1_messaging_1_1_firebase_notification_1a24240f747e6f457b27ab4a4d789c0504) | `string` Indicates color of the icon, expressed in #rrggbb format. Android only. |\n| [Icon](#class_firebase_1_1_messaging_1_1_firebase_notification_1a474ec0a5e71ecedebb23f7439b2c2f70) | `string` Indicates notification icon. |\n| [Sound](#class_firebase_1_1_messaging_1_1_firebase_notification_1ab1d8db02efc1eac3270ed3e7cde03a7c) | `string` Indicates a sound to play when the device receives the notification. |\n| [Tag](#class_firebase_1_1_messaging_1_1_firebase_notification_1a358ea766a6160e93ed250206dbf1d937) | `string` Indicates whether each notification results in a new entry in the notification drawer on Android. |\n| [Title](#class_firebase_1_1_messaging_1_1_firebase_notification_1a1197858304170aa9c3eb734fc5491386) | `string` Indicates notification title. |\n| [TitleLocalizationArgs](#class_firebase_1_1_messaging_1_1_firebase_notification_1a2a751f559df75001afc270f3f1199e3f) | `System.Collections.Generic.IEnumerable\u003c string \u003e` Indicates the string value to replace format specifiers in title string for localization. |\n| [TitleLocalizationKey](#class_firebase_1_1_messaging_1_1_firebase_notification_1aaeb787fd9fbe978fea99f3048cd3d359) | `string` Indicates the key to the title string for localization. |\n\nProperties\n----------\n\n### Android\n\n```c#\nAndroidNotificationParams Android\n``` \nAndroid-specific data to show. \n\n### Badge\n\n```c#\nstring Badge\n``` \nIndicates the badge on the client app home icon. iOS and tvOS only. \n\n### Body\n\n```c#\nstring Body\n``` \nIndicates notification body text. \n\n### BodyLocalizationArgs\n\n```c#\nSystem.Collections.Generic.IEnumerable\u003c string \u003e BodyLocalizationArgs\n``` \nIndicates the string value to replace format specifiers in body string for localization.\n\nOn iOS and tvOS, this corresponds to \"loc-args\" in APNS payload.\n\nOn Android, these are the format arguments for the string resource. For more information, see [Formatting strings](https://developer.android.com/guide/topics/resources/string-resource.html#FormattingAndStyling). \n\n### BodyLocalizationKey\n\n```c#\nstring BodyLocalizationKey\n``` \nIndicates the key to the body string for localization.\n\nOn iOS and tvOS, this corresponds to \"loc-key\" in APNS payload.\n\nOn Android, use the key in the app's string resources when populating this value. \n\n### ClickAction\n\n```c#\nstring ClickAction\n``` \nThe action associated with a user click on the notification.\n\nOn Android, if this is set, an activity with a matching intent filter is launched when user clicks the notification.\n\nIf set on iOS or tvOS, corresponds to category in APNS payload. \n\n### Color\n\n```c#\nstring Color\n``` \nIndicates color of the icon, expressed in #rrggbb format. Android only. \n\n### Icon\n\n```c#\nstring Icon\n``` \nIndicates notification icon.\n\nSets value to myicon for drawable resource myicon. \n\n### Sound\n\n```c#\nstring Sound\n``` \nIndicates a sound to play when the device receives the notification.\n\nSupports default, or the filename of a sound resource bundled in the app.\n\nAndroid sound files must reside in /res/raw/, while tvOS and iOS sound files can be in the main bundle of the client app or in the Library/Sounds folder of the app's data container. \n\n### Tag\n\n```c#\nstring Tag\n``` \nIndicates whether each notification results in a new entry in the notification drawer on Android.\n\nIf not set, each request creates a new notification. If set, and a notification with the same tag is already being shown, the new notification replaces the existing one in the notification drawer. \n\n### Title\n\n```c#\nstring Title\n``` \nIndicates notification title.\n\nThis field is not visible on tvOS, iOS phones and tablets. \n\n### TitleLocalizationArgs\n\n```c#\nSystem.Collections.Generic.IEnumerable\u003c string \u003e TitleLocalizationArgs\n``` \nIndicates the string value to replace format specifiers in title string for localization.\n\nOn iOS and tvOS, this corresponds to \"title-loc-args\" in APNS payload.\n\nOn Android, these are the format arguments for the string resource. For more information, see [Formatting strings](https://developer.android.com/guide/topics/resources/string-resource.html#FormattingAndStyling). \n\n### TitleLocalizationKey\n\n```c#\nstring TitleLocalizationKey\n``` \nIndicates the key to the title string for localization.\n\nOn iOS and tvOS, this corresponds to \"title-loc-key\" in APNS payload.\n\nOn Android, use the key in the app's string resources when populating this value."]]