FirebaseAdmin.Messaging.ApsAlert

Represents thealert property that can be included in theaps dictionary of an APNs payload.

Summary

Properties

ActionLocKey
string
Gets or sets the key of the text in the app's string resources to use to localize the action button text.
Body
string
Gets or sets the body of the alert.
LaunchImage
string
Gets or sets the launch image for the notification action.
LocArgs
IEnumerable< string >
Gets or sets the resource key strings that will be used in place of the format specifiers inLocKey.
LocKey
string
Gets or sets the key of the body string in the app's string resources to use to localize the body text.
Subtitle
string
Gets or sets the subtitle of the alert.
SubtitleLocArgs
IEnumerable< string >
Gets or sets the resource key strings that will be used in place of the format specifiers inSubtitleLocKey.
SubtitleLocKey
string
Gets or sets the key of the subtitle string in the app's string resources to use to localize the subtitle text.
Title
string
Gets or sets the title of the alert.
TitleLocArgs
IEnumerable< string >
Gets or sets the resource key strings that will be used in place of the format specifiers inTitleLocKey.
TitleLocKey
string
Gets or sets the key of the title string in the app's string resources to use to localize the title text.

Properties

ActionLocKey

string ActionLocKey

Gets or sets the key of the text in the app's string resources to use to localize the action button text.

Body

string Body

Gets or sets the body of the alert.

When provided, overrides the body set viaNotification.Body.

LaunchImage

string LaunchImage

Gets or sets the launch image for the notification action.

LocArgs

IEnumerable< string > LocArgs

Gets or sets the resource key strings that will be used in place of the format specifiers inLocKey.

LocKey

string LocKey

Gets or sets the key of the body string in the app's string resources to use to localize the body text.

Subtitle

string Subtitle

Gets or sets the subtitle of the alert.

SubtitleLocArgs

IEnumerable< string > SubtitleLocArgs

Gets or sets the resource key strings that will be used in place of the format specifiers inSubtitleLocKey.

SubtitleLocKey

string SubtitleLocKey

Gets or sets the key of the subtitle string in the app's string resources to use to localize the subtitle text.

Title

string Title

Gets or sets the title of the alert.

When provided, overrides the title set viaNotification.Title.

TitleLocArgs

IEnumerable< string > TitleLocArgs

Gets or sets the resource key strings that will be used in place of the format specifiers inTitleLocKey.

TitleLocKey

string TitleLocKey

Gets or sets the key of the title string in the app's string resources to use to localize the title text.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2022-03-24 UTC.