BatchMessaging class

Provides messaging related functionality, such as do not disturb. Do not instanciate this: use the instance static property.

Constructors

BatchMessaging()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDoNotDisturbEnabled(bool enableDoNotDisturb) → void
Toogles whether BatchMessaging should enter its "do not disturb" (DnD) mode or exit it. While in DnD, Batch will not display message, not matter if they've been triggered by notifications (mobile landings) or an In-App Campaign.
showPendingMessage() → void
Shows the currently enqueued message, if any. This removes the message from the queue.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance BatchMessaging
Batch Messaging module singleton.
getter/setter pair