AndroidConfig extension type
Represents the Android-specific options that can be included in an {@link Message}.
- on
- Implemented types
- Available extensions
Constructors
- AndroidConfig({String? collapseKey, String? priority, int? ttl, String? restrictedPackageName, JSObject? data, AndroidNotification? notification, AndroidFcmOptions? fcmOptions})
- Constructor
Properties
- collapseKey → String?
-
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 four different collapse keys
may be active at any given time.
no setter
- data → JSObject?
-
A collection of data fields to be included in the message. All values must
be strings. When provided, overrides any data fields set on the top-level
{@link Message}.
no setter
- fcmOptions → AndroidFcmOptions?
-
Options for features provided by the FCM SDK for Android.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- notification → AndroidNotification?
-
Android notification to be included in the message.
no setter
- priority → String?
-
Priority of the message. Must be either
normal
orhigh
.no setter - restrictedPackageName → String?
-
Package name of the application where the registration tokens must match
in order to receive the message.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- ttl → int?
-
Time-to-live duration of the message in milliseconds.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited