FirebaseAdmin.Messaging.AndroidNotification

Represents the Android-specific notification options that can be included in a Message.

Summary

Properties

Body
string
Gets or sets the title of the Android notification.
BodyLocArgs
IEnumerable< string >
Gets or sets the collection of resource key strings that will be used in place of the format specifiers in BodyLocKey.
BodyLocKey
string
Gets or sets the key of the body string in the app's string resources to use to localize the body text.
ChannelId
string
Gets or sets the Android notification channel ID (new in Android O).
ClickAction
string
Gets or sets the action associated with a user click on the notification.
Color
string
Gets or sets the notification icon color.
Icon
string
Gets or sets the icon of the Android notification.
Sound
string
Gets or sets the sound to be played when the device receives the notification.
Tag
string
Gets or sets the notification tag.
Title
string
Gets or sets the title of the Android notification.
TitleLocArgs
IEnumerable< string >
Gets or sets the collection of resource key strings that will be used in place of the format specifiers in TitleLocKey.
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

Body

string Body

Gets or sets the title of the Android notification.

When provided, overrides the title set via Notification.Body.

BodyLocArgs

IEnumerable< string > BodyLocArgs

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

BodyLocKey

string BodyLocKey

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

ChannelId

string ChannelId

Gets or sets the Android notification channel ID (new in Android O).

The app must create a channel with this channel ID before any notification with this channel ID is received. If you don't send this channel ID in the request, or if the channel ID provided has not yet been created by the app, FCM uses the channel ID specified in the app manifest.

ClickAction

string ClickAction

Gets or sets the 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 Color

Gets or sets the notification icon color.

Must be of the form #RRGGBB.

Icon

string Icon

Gets or sets the icon of the Android notification.

Sound

string Sound

Gets or sets the sound to be played when the device receives the notification.

Tag

string Tag

Gets or sets the 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 Title

Gets or sets the title of the Android notification.

When provided, overrides the title set via Notification.Title.

TitleLocArgs

IEnumerable< string > TitleLocArgs

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

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.

Gửi phản hồi về...

Bạn cần trợ giúp? Truy cập trang hỗ trợ của chúng tôi.