AndroidConfig class

Android specific options for messages sent through FCM connection server.

Constructors

AndroidConfig({String? collapseKey, Map<String, String>? data, bool? directBootOk, AndroidFcmOptions? fcmOptions, AndroidNotification? notification, String? priority, String? restrictedPackageName, String? ttl})
AndroidConfig.fromJson(Map _json)

Properties

collapseKey String?
An identifier of a group of messages that can be collapsed, so that only the last message gets sent when delivery can be resumed.
getter/setter pair
data Map<String, String>?
Arbitrary key/value payload.
getter/setter pair
directBootOk bool?
If set to true, messages will be allowed to be delivered to the app while the device is in direct boot mode.
getter/setter pair
fcmOptions AndroidFcmOptions?
Options for features provided by the FCM SDK for Android.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
notification AndroidNotification?
Notification to send to android devices.
getter/setter pair
priority String?
Message priority.
getter/setter pair
restrictedPackageName String?
Package name of the application where the registration token must match in order to receive the message.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ttl String?
How long (in seconds) the message should be kept in FCM storage if the device is offline.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited