Properties

body

(string or undefined)

Body of the Android notification. When provided, overrides the body set via admin.messaging.Notification.

bodyLocArgs

(non-null Array of string or undefined)

An array of resource keys that will be used in place of the format specifiers in bodyLocKey.

bodyLocKey

(string or undefined)

Key of the body string in the app's string resource to use to localize the body text.

clickAction

(string or undefined)

Action associated with a user click on the notification. If specified, an activity with a matching Intent Filter is launched when a user clicks on the notification.

color

(string or undefined)

Notification icon color in #rrggbb format.

icon

(string or undefined)

Icon resource for the Android notification.

sound

(string or undefined)

File name of the sound to be played when the device received the notification.

tag

(string or undefined)

Notification tag. This is an identifier used to replace existing notifications in the notification drawer. If not specified, each request creates a new notification.

title

(string or undefined)

Title of the Android notification. When provided, overrides the title set via admin.messaging.Notification.

titleLocArgs

(non-null Array of string or undefined)

An array of resource keys that will be used in place of the format specifiers in titleLocKey.

titleLocKey

(string or undefined)

Key of the title string in the app's string resource to use to localize the title text.