FirebaseAdmin.Messaging.AndroidConfig

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

Summary

Properties

CollapseKey
string
Gets or sets a collapse key for the message.
Data
IReadOnlyDictionary< string, string >
Gets or sets a collection of key-value pairs that will be added to the message as data fields.
Notification
Gets or sets the Android notification to be included in the message.
Priority
Gets or sets the priority of the message.
RestrictedPackageName
string
Gets or sets the package name of the application where the registration tokens must match in order to receive the message.
TimeToLive
TimeSpan
Gets or sets the time-to-live duration of the message.

Properties

CollapseKey

string CollapseKey

Gets or sets a collapse key for the message.

Collapse key serves as an identifier for a group of messages that can be collapsed, so that only the last message gets sent when delivery can be resumed. A maximum of 4 different collapse keys may be active at any given time.

Data

IReadOnlyDictionary< string, string > Data

Gets or sets a collection of key-value pairs that will be added to the message as data fields.

Keys and the values must not be null. When set, overrides any data fields set on the top-level Message.

Notification

AndroidNotification Notification

Gets or sets the Android notification to be included in the message.

Priority

Priority Priority

Gets or sets the priority of the message.

RestrictedPackageName

string RestrictedPackageName

Gets or sets the package name of the application where the registration tokens must match in order to receive the message.

TimeToLive

TimeSpan TimeToLive

Gets or sets the time-to-live duration of the message.

Send feedback about...

Need help? Visit our support page.